Skip to content

Commit

Permalink
Remove invalid option disable for mini-css-extract-plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
na9da committed Oct 22, 2024
1 parent 082810c commit de31348
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions buildprocess/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit de31348

Please sign in to comment.