From ea1487acdfb2eaec63327bc6dd0c454f0c6e4dac Mon Sep 17 00:00:00 2001 From: Katie Byers Date: Mon, 28 Feb 2022 12:58:25 -0800 Subject: [PATCH] use standard regex for minifying integration bundles --- packages/integrations/rollup.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/integrations/rollup.config.js b/packages/integrations/rollup.config.js index 2c3e13622c96..511d95588dc3 100644 --- a/packages/integrations/rollup.config.js +++ b/packages/integrations/rollup.config.js @@ -18,7 +18,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,