evanw / evanw/node-source-map-support
Wrong lines when no source map
Open
- Dominant language
- JavaScript
- Stars
- 2.2k
- Forks
- 223
- PR merge metrics
- No merged PRs in 30d
Description
When in development, we don't generate sourcemaps and use babel-register to dynamically transpile the source code.
I noticed that if we load `require('source-map-support').install();` in that context, the error stack shows wrong line numbers.
Is it by design, implying that we should only install source-map-support when we know we're going to have sourcemap files available, or is it a bug in the module ?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.