-
-
Notifications
You must be signed in to change notification settings - Fork 616
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
feat: Add support for debug IDs #8943
Conversation
✅ Deploy Preview for rspack canceled.Built without sensitive environment variables
|
web-infra-dev/rspack-sources#151 rspack_sources v0.4.2 is released |
CodSpeed Performance ReportMerging #8943 will not alter performanceComparing Summary
|
I have no idea why this test is failing in CI. When I run the unit test locally, different tests fail 🤷♂️ |
I will take a look in next week |
@SyMind web-infra-dev/rspack-sources#150 this causes a panic in test case "minify-with-devtool-false" |
📝 Benchmark detail: Open
|
📝 Benchmark detail: Open
|
This PR requires this to be merged and released first:
debugId
property rspack-sources#151Debug IDs are detailed in the TC39 proposal.
Debug IDs are unique IDs generated from a deterministic hash of the source code which are then injected/included in both source and sourcemap. They can be used to easily identify the correct sourcemaps in production.
I've recently added support for injecting debug IDs to webpack, Rollup, Rolldown and Vite.
This PR adds debug ID to Rspack with the same API as webpack. This means you can enabled debug ID injection by adding
-debugids
to the end of anydevTool
string.