Skip to content

Commit

Permalink
fix: webpack formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
PritishBudhiraja committed Jul 4, 2024
1 parent 4b3c073 commit 5f29273
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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: [
Expand Down

0 comments on commit 5f29273

Please sign in to comment.