Skip to content

Commit b92e9c7

Browse files
committed
fix minification issue
1 parent 6707f38 commit b92e9c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ export function makeTerserPlugin() {
136136
'_resolveFilename',
137137
// Set on e.g. the shim feedbackIntegration to be able to detect it
138138
'_isShim',
139+
// Set by `withStreamedSpan()` and checked by `isStreamedBeforeSendSpanCallback()` -
140+
// since the setter passes the name as a string to `addNonEnumerableProperty`, terser
141+
// cannot mangle it there, so we must keep the reader side unmangled too.
142+
'_streamed',
139143
// This is used in metadata integration
140144
'_sentryModuleMetadata',
141145
],

0 commit comments

Comments
 (0)