Question:
Why am I getting the following error? I forgot to include the script in my html?
ReferenceError: cannot find variable: export
Created javascript from typescript that calls it:
"use strict"; Object.defineProperty(exports, "__esModule", { value: true });
Additionally:
tsconfig.json
{ "compileOnSave": true, "compilerOptions": { "target": "es5", "noImplicitAny": true, "rootDir": ".", "sourceRoot": "../../../", "outDir": "../../../js/dist/", "sourceMap": false }, "exclude": [ "node_modules" ] }
requirejs is included in front of my js files in html
There are similar questions, but it's just about typescript, not ember / babel / etc.
source share