Skip to content

Commit 2db2326

Browse files
committed
use standard regex for wasm terser properties option
1 parent b48754e commit 2db2326

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/wasm/rollup.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ const terserInstance = terser({
99
// We need those full names to correctly detect our internal frames for stripping.
1010
// I listed all of them here just for the clarity sake, as they are all used in the frames manipulation process.
1111
reserved: ['captureException', 'captureMessage', 'sentryWrapped'],
12-
properties: false,
12+
properties: {
13+
regex: /^_[^_]/,
14+
},
1315
},
1416
output: {
1517
comments: false,

0 commit comments

Comments
 (0)