From 965af3bd3b1eedfdde7910f1f454c393e2a80a7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Wed, 11 Jul 2018 07:37:53 +0200 Subject: [PATCH] Disable minimize for all bundles --- webpack/internals.config.js | 4 ++++ webpack/main.config.js | 3 +++ webpack/renderer.config.js | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/webpack/internals.config.js b/webpack/internals.config.js index 16350da3..c60ff25f 100644 --- a/webpack/internals.config.js +++ b/webpack/internals.config.js @@ -47,4 +47,8 @@ module.exports = webpackMain().then(config => ({ }, plugins: [...plugins('internals'), ...config.plugins], + + optimization: { + minimize: false, + }, })) diff --git a/webpack/main.config.js b/webpack/main.config.js index 95764b38..a529c58f 100644 --- a/webpack/main.config.js +++ b/webpack/main.config.js @@ -9,6 +9,9 @@ const config = { module: { rules, }, + optimization: { + minimize: false, + }, } module.exports = config diff --git a/webpack/renderer.config.js b/webpack/renderer.config.js index 63aa10be..d22f622b 100644 --- a/webpack/renderer.config.js +++ b/webpack/renderer.config.js @@ -15,7 +15,7 @@ const config = { historyApiFallback: true, }, optimization: { - minimizer: [], + minimize: false, }, }