diff --git a/rollup/plugins/bundlePlugins.js b/rollup/plugins/bundlePlugins.js index 0fb662b7e3e4..7e48452e3d33 100644 --- a/rollup/plugins/bundlePlugins.js +++ b/rollup/plugins/bundlePlugins.js @@ -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', // We want to keep the _integrations variable unmangled to send all installed integrations from replay '_integrations', ],