Fixed webpack config

This commit is contained in:
2021-08-21 05:49:01 +10:00
parent 7547b1717e
commit 9c863f309f
+1 -2
View File
@@ -77,8 +77,7 @@ module.exports = ({ production, analyzer }) => {
filename: "[path][base].gz[query]", filename: "[path][base].gz[query]",
algorithm: "gzip", algorithm: "gzip",
test: /\.js$|\.css$/, test: /\.js$|\.css$/,
minRatio: 0.8, minRatio: 0.8
deleteOriginalAssets: true
}), }),
new BundleAnalyzerPlugin({ new BundleAnalyzerPlugin({
analyzerMode: analyzer ? 'server' : 'disabled' analyzerMode: analyzer ? 'server' : 'disabled'