Skip to content

Commit 60271f5

Browse files
authored
fix(cdn): Do not mangle _metadata (#13426)
Noticed that this is mangled on the `options` in the CDN, which it probably shouldn't be...
1 parent 8ce9f7c commit 60271f5

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
@@ -116,6 +116,8 @@ export function makeTerserPlugin() {
116116
'_integrations',
117117
// _meta is used to store metadata of replay network events
118118
'_meta',
119+
// We store SDK metadata in the options
120+
'_metadata',
119121
// Object we inject debug IDs into with bundler plugins
120122
'_sentryDebugIds',
121123
// These are used by instrument.ts in utils for identifying HTML elements & events

0 commit comments

Comments
 (0)