-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Sentry's minified CDN bundle of moduleMetadataIntegration
doesn't work
#14343
Comments
Thanks for opening this! I opened a PR to fix this: #14344 |
Wow! Thanks for the super-fast response!! |
That would be appreciated, yes the fix is the same for v7, then we can also release a fix for v7! |
Here you go: #14357 |
A PR closing this issue has just been released 🚀This issue was referenced by PR #14344, which was included in the 8.39.0 release. |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
7.120.0
Framework Version
React 18
Link to Sentry event
No response
Reproduction Example/SDK Setup
This is the Sentry load+init code part of the HTML's page:
Steps to Reproduce
In continuation of #13822 (see comment here).
When loading the unminified version (
https://browser.sentry-cdn.com/7.120.0/modulemetadata.es5.js
), I can see that the module metadata is added to event.extra as I need, which is great. But when I use the minified version (https://browser.sentry-cdn.com/7.120.0/modulemetadata.es5.min.js
), the module metadata is not added to the stacktrace frames, suggesting that something in the minification is breaking.I've seen these kind of issues are possible, like #5527.
Expected Result
module_metadata
should be added to the stack frames.Actual Result
module_metadata
is not added to the stack frames, preventing me to load and use the minified bundle.The text was updated successfully, but these errors were encountered: