Skip to content

Commit c05f59d

Browse files
authored
fix(v7/cdn): Ensure _sentryModuleMetadata is not mangled (#14357)
Creating a corresponding PR to v7 for this fix: #14344 This should solve #14343 in v7.
1 parent fb38a6f commit c05f59d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dev-packages/rollup-utils/plugins/bundlePlugins.mjs

+2
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ export function makeTerserPlugin() {
139139
// For v7 backwards-compatibility we need to access txn._frozenDynamicSamplingContext
140140
// TODO (v8): Remove this reserved word
141141
'_frozenDynamicSamplingContext',
142+
// This is used in metadata integration
143+
'_sentryModuleMetadata',
142144
],
143145
},
144146
},

0 commit comments

Comments
 (0)