From 78e816c6fb282e193912a0773e8ef64e8c971f0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Tue, 11 Jan 2022 13:53:01 +0100 Subject: [PATCH] Removing optimization in dev to get back normal compilation times in watch mode --- front/webpack.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/webpack.config.ts b/front/webpack.config.ts index 3185b0a6..d6e54c68 100644 --- a/front/webpack.config.ts +++ b/front/webpack.config.ts @@ -163,7 +163,7 @@ module.exports = { mainFields: ["svelte", "browser", "module", "main"], }, optimization: { - minimize: true, + minimize: isProduction, minimizer: [new CssMinimizerPlugin(), "..."], }, output: {