-
Notifications
You must be signed in to change notification settings - Fork 12k
Production build sourcemaps mismatch - line number misalignments #8978
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
Comments
Heya, can you provide a repro that includes such a piece of code that sourcemaps ignore on a new project please? It might be related to uglification or some code optimizations, but I can only investigate with real code that shows this behaviour. We had sourcemap troubles in the past, and quite recently on prod builds only, so I'd like to get to the bottom of this. |
I'm sorry, but we can't reproduce the problem following the instructions you provided. If the problem persists, please open a new issue following our submission guidelines. A good way to make a minimal repro is to create a new app via |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Request Type
bug [x] This is a bug report
Versions
Repro steps
Observed behavior
Put a breakpoint on line #1, then
single
step the code, it jumps to line #11.Desired behavior
Properly built
sourcemap
should have landed on line #10 when single stepping the code & only on line #11 if the condition on #10 was true.Mention any other details that might be useful (optional)
I do remember seeing sourcemap misalignment in the beta version. This might be related. While debugging during dev works great, some bugs only show up on prod version and during staging, one should be able to step the prod code and investigate a fix.
The text was updated successfully, but these errors were encountered: