Skip to content

Commit

Permalink
fix(replay): Don't mangle private rrweb property
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed Feb 2, 2023
1 parent c3dd355 commit 2efca38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rollup/plugins/bundlePlugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ export function makeTerserPlugin() {
// We want to keept he _replay and _isEnabled variable unmangled to enable integration tests to access it
'_replay',
'_isEnabled',
// we also can't mangle rrweb private fields when bundling rrweb in the replay CDN bundles
'_cssText',
],
},
},
Expand Down

0 comments on commit 2efca38

Please sign in to comment.