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"]