Include sourcemaps in Typescript NPM package. #32207
Labels
Awaiting More Feedback
This means we'd like to hear from more people who would be helped by this feature
Suggestion
An idea for TypeScript
Search Terms
typescript.js.map typescript.js source map
Suggestion
I would like
typescript.js.map
to be included in the distributed NPM package, along with the original sources. This could be achieved either withinlineSources: true
or by including thesrc
folder in the NPM package.Use Cases
I'm working on a compiler transformer and this has resulted in me stepping through
typescript.js
. Since source maps are not included, this results in me stepping through a 125,000 line JavaScript file. Not only does my editor hate me for this and sometimes locks up, the code is significantly harder to read than the original TypeScript source code.Checklist
My suggestion meets these guidelines:
The text was updated successfully, but these errors were encountered: