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 Nov 10, 2023
1 parent 9fc29e5 commit f13c915
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 @@ -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,
Expand Down

0 comments on commit f13c915

Please sign in to comment.