We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sorry it is possibly lack of knowledge from my end ...
but I was able to port a chrome extension I had ... everything is working fine, but Im not able to debug from vscode ...
I know I need the sourcemaps for it so I change the tsconfig to
{ "compilerOptions": { "module": "commonjs", "target": "es6", "noImplicitAny": false, "sourceMap": true, // <--------------- here the change "rootDir": "src", "outDir": "dist/js", "noEmitOnError": true, "typeRoots": [ "node_modules/@types" ] } }
but if I compile it like that (with tsc) it gives me the runtime error: Uncaught ReferenceError: exports is not defined ...
I know that can be related to the module in the tsconfig.json ... but if i change it from
"module": "commonjs",
to
"module": "umd", // or "amd"
it then doesnt find a chain of dependencies ... starting from "moment" ...
and if (instead of all that) I do "npm run build" it doesnt create the sourceMaps in order to debug from typescript ...
I will appreciate so much your help ....
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Sorry it is possibly lack of knowledge from my end ...
but I was able to port a chrome extension I had ... everything is working fine, but Im not able to debug from vscode ...
I know I need the sourcemaps for it so I change the tsconfig to
but if I compile it like that (with tsc) it gives me the runtime error:
Uncaught ReferenceError: exports is not defined ...
I know that can be related to the module in the tsconfig.json ...
but if i change it from
to
it then doesnt find a chain of dependencies ... starting from "moment" ...
and if (instead of all that) I do "npm run build" it doesnt create the sourceMaps in order to debug from typescript ...
I will appreciate so much your help ....
The text was updated successfully, but these errors were encountered: