From 3a43cfca6ec613e42e5dffc81d625720e60f3d59 Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Mon, 18 Nov 2024 15:02:10 +0100 Subject: [PATCH] fix(cdn): Ensure `_sentryModuleMetadata` is not mangled --- dev-packages/rollup-utils/plugins/bundlePlugins.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-packages/rollup-utils/plugins/bundlePlugins.mjs b/dev-packages/rollup-utils/plugins/bundlePlugins.mjs index a3e25c232479..dce0ca15bf35 100644 --- a/dev-packages/rollup-utils/plugins/bundlePlugins.mjs +++ b/dev-packages/rollup-utils/plugins/bundlePlugins.mjs @@ -138,6 +138,8 @@ export function makeTerserPlugin() { '_resolveFilename', // Set on e.g. the shim feedbackIntegration to be able to detect it '_isShim', + // This is used in metadata integration + '_sentryModuleMetadata', ], }, },