-
-
Notifications
You must be signed in to change notification settings - Fork 228
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 break when using treeshake: 'smallest'
#889
Comments
It breaks the sourcemaps. See egoist/tsup#889
It breaks the sourcemaps. See egoist/tsup#889
I met this problem too, it might be caused by incorrect use of Lines 156 to 166 in 322cb77
correct example: https://github.com/mozilla/source-map/blob/master/test/test-source-map-generator.js#L356-L362 Besides, default output is I fixed these 2 bugs in #1069 |
🎉 This issue has been resolved in version 8.1.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
It seems when Rollup is used for extra tree-shaking, the sourcemaps no longer trace back to correct positions in the source code. This makes breakpoints effectively useless.
You might be forgetting to feed the sourcemaps into Rollup?
Upvote & Fund
The text was updated successfully, but these errors were encountered: