From de313481994b55bb74370583ca957ddd7d213dbb Mon Sep 17 00:00:00 2001 From: Nanda Date: Tue, 22 Oct 2024 14:55:02 +1100 Subject: [PATCH] Remove invalid option `disable` for mini-css-extract-plugin. --- buildprocess/webpack.config.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/buildprocess/webpack.config.js b/buildprocess/webpack.config.js index 6b5566e8b..7b317de47 100644 --- a/buildprocess/webpack.config.js +++ b/buildprocess/webpack.config.js @@ -141,14 +141,14 @@ module.exports = function (devMode, hot) { } ] }, - plugins: [ - new MiniCssExtractPlugin({ - filename: "TerriaMap.css", - disable: hot, - ignoreOrder: true, - allChunks: true - }) - ], + plugins: hot + ? [] + : [ + new MiniCssExtractPlugin({ + filename: "TerriaMap.css", + ignoreOrder: true + }) + ], resolve: { alias: {}, modules: ["node_modules"]