Skip to content

fix(build): Don't mangle away global debug ID map - #8096

Merged
lforst merged 2 commits into
developfrom
lforst-no-minification-of-debug-id
May 10, 2023
Merged

fix(build): Don't mangle away global debug ID map#8096
lforst merged 2 commits into
developfrom
lforst-no-minification-of-debug-id

Conversation

@lforst

@lforst lforst commented May 10, 2023

Copy link
Copy Markdown
Contributor

We rely on the _sentryDebugIds field for debug ID injection. Unfortunately we mangle away all underscore-prefixed variables in minified bundles unless we disallow mangling for them. This PR fixes that.

@lforst
lforst requested review from AbhiPrasad, Lms24 and mydea May 10, 2023 13:40
@lforst
lforst enabled auto-merge (squash) May 10, 2023 14:09
@lforst
lforst merged commit b88a26d into develop May 10, 2023
@lforst
lforst deleted the lforst-no-minification-of-debug-id branch May 10, 2023 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants