From 961cef834b968cf8a544c66e61b6ba6330346b60 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Thu, 11 Dec 2025 15:22:15 +0200 Subject: [PATCH] enable sentry bundle size optimizations --- webpack.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index b312a2d6c3..f8a3abb2bd 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -62,6 +62,12 @@ module.exports = async function (env, argv) { name: process.env.SENTRY_RELEASE || version, dist: process.env.SENTRY_DIST, }, + bundleSizeOptimizations: { + excludeDebugStatements: true, + excludeReplayShadowDom: true, + excludeReplayIframe: true, + excludeReplayWorker: true, + }, }), ) }