From 5f29273169920f18f428b23ad7eef29fc85f1f3f Mon Sep 17 00:00:00 2001 From: Pritish Budhiraja Date: Thu, 4 Jul 2024 17:07:41 +0530 Subject: [PATCH] fix: webpack formatting --- webpack.common.js | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/webpack.common.js b/webpack.common.js index 2b06891e4..46b5a561b 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -95,7 +95,10 @@ module.exports = (publicPath = "auto") => { ); } - if (process.env.SENTRY_AUTH_TOKEN && process.env.IS_SENTRY_ENABLED === "true") { + if ( + process.env.SENTRY_AUTH_TOKEN && + process.env.IS_SENTRY_ENABLED === "true" + ) { plugins.push( sentryWebpackPlugin({ org: "sentry", @@ -127,18 +130,18 @@ module.exports = (publicPath = "auto") => { sdkEnv === "local" ? {} : { - sideEffects: true, - minimize: true, - minimizer: [ - new TerserPlugin({ - terserOptions: { - compress: { - drop_console: false, + sideEffects: true, + minimize: true, + minimizer: [ + new TerserPlugin({ + terserOptions: { + compress: { + drop_console: false, + }, }, - }, - }), - ], - }, + }), + ], + }, plugins, module: { rules: [