Removing optimization in dev to get back normal compilation times in watch mode

This commit is contained in:
David Négrier 2022-01-11 13:53:01 +01:00 committed by Alexis Faizeau
parent 873c335054
commit 78e816c6fb

View File

@ -163,7 +163,7 @@ module.exports = {
mainFields: ["svelte", "browser", "module", "main"],
},
optimization: {
minimize: true,
minimize: isProduction,
minimizer: [new CssMinimizerPlugin(), "..."],
},
output: {