Skip to content

Commit 9b35c71

Browse files
committed
Fixes gzip plugin configuration syntax.
According to https://github.com/webpack/compression-webpack-plugin and to what works on my computer.
1 parent 1a0215c commit 9b35c71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack/config.production.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = {
3434
}
3535
}),
3636
new CompressionPlugin({
37-
asset: '{file}.gz',
37+
asset: '[file].gz',
3838
algorithm: 'gzip',
3939
test: /\.css$|\.js$|\.html$/,
4040
threshold: 10240,

0 commit comments

Comments
 (0)