Skip to content

Commit 2efca38

Browse files
committed
fix(replay): Don't mangle private rrweb property
1 parent c3dd355 commit 2efca38

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rollup/plugins/bundlePlugins.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ export function makeTerserPlugin() {
119119
// We want to keept he _replay and _isEnabled variable unmangled to enable integration tests to access it
120120
'_replay',
121121
'_isEnabled',
122+
// we also can't mangle rrweb private fields when bundling rrweb in the replay CDN bundles
123+
'_cssText',
122124
],
123125
},
124126
},

0 commit comments

Comments
 (0)