chore: don't minimize js in development (#28571)
This commit is contained in:
parent
da8c35e3b2
commit
f73d09374e
2 changed files with 7 additions and 1 deletions
|
@ -156,7 +156,7 @@ if ((globalThis.process || binding.process).argv.includes("--profile-electron-in
|
|||
setImmediate: false
|
||||
},
|
||||
optimization: {
|
||||
minimize: true,
|
||||
minimize: env.mode === 'production',
|
||||
minimizer: [
|
||||
new TerserPlugin({
|
||||
terserOptions: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue