Skip to content

Commit c5e6e7b

Browse files
committed
Merge pull request #9 from hartym/patch-1
Fixes gzip plugin configuration syntax.
2 parents 83708fe + 9b35c71 commit c5e6e7b

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)