-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
source map generated by rollup miss 'file' property #986
Comments
I'm running into a similar problem in the chrome debug extension for vscode which complains about not finding the correct file names. EDIT: Curiously, the spec clearly states that the |
@marvinhagemeister Yes, file property is optional, so you can debug it in Chrome, but seems the IDEs need the anchor to map the right files in source |
I can't reproduce this, is it still happening with the current version? If so, please include a repro – thanks |
This only happens when using plugins. |
Populate file property of sourcemaps when plugins are involved
Thanks — fixed in 0.40.2 |
I do not know if it's a bug, because it's too trivial...
The source map generated by rollup miss 'file' property like this
{"version":3,"file":null,"sources":["..
but, without the file name, WebStorm will ignore the source map, so you can't debug in it.
thought it's easy to be fixed manually, but with --watch, means very annoying.
rollup version 0.36.0 with rollup-plugin-typescript
The text was updated successfully, but these errors were encountered: