diff --git a/packages/wasm/rollup.config.js b/packages/wasm/rollup.config.js index 235c369c5d69..09dadd13fe4c 100644 --- a/packages/wasm/rollup.config.js +++ b/packages/wasm/rollup.config.js @@ -10,7 +10,9 @@ const terserInstance = terser({ // We need those full names to correctly detect our internal frames for stripping. // I listed all of them here just for the clarity sake, as they are all used in the frames manipulation process. reserved: ['captureException', 'captureMessage', 'sentryWrapped'], - properties: false, + properties: { + regex: /^_[^_]/, + }, }, output: { comments: false,