Changing tsconfig.json
to:
{
"compilerOptions": {
"module": "system",
"target": "es2015",
"moduleResolution": "node",
}
}
as per saurabhstc’s post seems to fix the “ReferenceError: Can’t find variable: exports” problem, but I now get:
ReferenceError: Can't find variable: System
in the JavaScript console, so I guess I’m not including some required script or other in advance of my own? I tried putting
<script src="https://cdn.babylonjs.com/babylon.js"></script>
in the HTML header, but no luck so far.