Skip to content

Commit

Permalink
fix(v7/cdn): Ensure _sentryModuleMetadata is not mangled (#14357)
Browse files Browse the repository at this point in the history
Creating a corresponding PR to v7 for this fix:
#14344
This should solve
#14343 in v7.
  • Loading branch information
gilisho authored Nov 19, 2024
1 parent fb38a6f commit c05f59d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev-packages/rollup-utils/plugins/bundlePlugins.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ export function makeTerserPlugin() {
// For v7 backwards-compatibility we need to access txn._frozenDynamicSamplingContext
// TODO (v8): Remove this reserved word
'_frozenDynamicSamplingContext',
// This is used in metadata integration
'_sentryModuleMetadata',
],
},
},
Expand Down

0 comments on commit c05f59d

Please sign in to comment.