Skip to content

Commit

Permalink
chore(webpack): quantify gain of sentry treeshaking
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Sep 9, 2024
1 parent b400d23 commit 54df66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,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,
Expand Down

0 comments on commit 54df66c

Please sign in to comment.