From f13c91532a05b0e625f2d614f273b2ca33be866a Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Fri, 10 Nov 2023 21:21:46 +0100 Subject: [PATCH] chore(webpack): quantify gain of sentry treeshaking --- client/config/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/config/webpack.config.js b/client/config/webpack.config.js index 2cd0c7e62ee4..6d71f438a734 100644 --- a/client/config/webpack.config.js +++ b/client/config/webpack.config.js @@ -613,7 +613,7 @@ function config(webpackEnv) { // during a production build. // Otherwise React will be compiled in the very slow development mode. new webpack.DefinePlugin(env.stringified), - // Treeshake Sentry. + // Treeshake Sentry (saves about 12 kB on the chunk). new webpack.DefinePlugin({ __SENTRY_DEBUG__: false, __SENTRY_TRACING__: false,