Skip to content

Commit adcb989

Browse files
timfishHazAT
authored andcommitted
Stop mangling double underscore properties (#1955)
1 parent 8e08b29 commit adcb989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/browser/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const terserInstance = terser({
1616
// I listed all of them here just for the clarity sake, as they are all used in the frames manipulation process.
1717
reserved: ['captureException', 'captureMessage', 'sentryWrapped'],
1818
properties: {
19-
regex: /^_/,
19+
regex: /^_[^_]/,
2020
},
2121
},
2222
});

0 commit comments

Comments
 (0)