Fixed webpack config
This commit is contained in:
+1
-2
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user