Skip to content

Commit 7aa59f6

Browse files
committed
use standard regex for minifying integration bundles
1 parent 776b9f7 commit 7aa59f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/integrations/rollup.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ const terserInstance = terser({
1818
// We need those full names to correctly detect our internal frames for stripping.
1919
// I listed all of them here just for the clarity sake, as they are all used in the frames manipulation process.
2020
reserved: ['captureException', 'captureMessage', 'sentryWrapped'],
21-
properties: false,
21+
properties: {
22+
regex: /^_[^_]/,
23+
},
2224
},
2325
output: {
2426
comments: false,

0 commit comments

Comments
 (0)