-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Sourcemaps are missing closing braces #1448
Comments
Source maps don’t remap every single thing, just the important parts. I think you shouldn’t ever hit an exception or a pause in execution in those spots when using a debugger. |
Yeah this is true for the debugging process, but tools for coverage reporting use them :( I don't know if other tools rely on those informations. |
@evanw I would like to make a case for the closing brackets as well because indeed I ran into an issue trying to use v8-to-istanbul where because the end range is missing in the sourcemap an entire function is ignored and marked as covered. |
Hi! I noticed that closing braces are not correctly mapped in sourcemaps generated by esbuild. Am I missing some configuration detail or is it something esbuild currently does not handle?
The text was updated successfully, but these errors were encountered: