Browse Source

Disable minimize for all bundles

master
Gaëtan Renaudeau 7 years ago
parent
commit
965af3bd3b
  1. 4
      webpack/internals.config.js
  2. 3
      webpack/main.config.js
  3. 2
      webpack/renderer.config.js

4
webpack/internals.config.js

@ -47,4 +47,8 @@ module.exports = webpackMain().then(config => ({
},
plugins: [...plugins('internals'), ...config.plugins],
optimization: {
minimize: false,
},
}))

3
webpack/main.config.js

@ -9,6 +9,9 @@ const config = {
module: {
rules,
},
optimization: {
minimize: false,
},
}
module.exports = config

2
webpack/renderer.config.js

@ -15,7 +15,7 @@ const config = {
historyApiFallback: true,
},
optimization: {
minimizer: [],
minimize: false,
},
}

Loading…
Cancel
Save