Skip to content

Commit 3df1298

Browse files
committed
remove terser config for controlling debug logging
1 parent db60e28 commit 3df1298

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

rollup.config.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@ function makeLicensePlugin(title) {
4747
}
4848

4949
export const terserPlugin = terser({
50-
compress: {
51-
// Tell env.ts that we're building a browser bundle and that we do not
52-
// want to have unnecessary debug functionality.
53-
global_defs: {
54-
__SENTRY_NO_DEBUG__: false,
55-
},
56-
},
5750
mangle: {
5851
// captureExceptions and captureMessage are public API methods and they don't need to be listed here
5952
// as mangler doesn't touch user-facing thing, however sentryWrapped is not, and it would be mangled into a minified version.

0 commit comments

Comments
 (0)