-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
SourceMap broken #4
Comments
To reproduce, |
Same issue without TypeScript, using Babel. I think it's because of escodegen, we need to handle sourcemap when calling generate: https://github.com/estools/escodegen/wiki/Source-Map-Usage. |
* Add support for sourcemap Close #4 * Add support for loader sourceMap option and generate sourcemap from scratch when previous sourcemap is undefined * Avoid defining location/sourceFile parse options when sourceMap is falsy
When using this loader on TypeScript, sourcemaps are broken making debuging impossible.
The text was updated successfully, but these errors were encountered: