Commit 9bd4c85eaef51539b2be2b2a3968ef6de3eb2ee8
Committed by
Andrew Shvayka
1 parent
afdbc71d
fix regEx
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -96,7 +96,7 @@ module.exports = { |
96 | 96 | new CompressionPlugin({ |
97 | 97 | asset: "[path].gz[query]", |
98 | 98 | algorithm: "gzip", |
99 | - test: /\.js$|\.css$|\.svg$|\.ttf$|\.woff$|\.woff2|\.eot$\.json$/, | |
99 | + test: /\.js$|\.css$|\.svg$|\.ttf$|\.woff$|\.woff2$|\.eot$|\.json$/, | |
100 | 100 | threshold: 10240, |
101 | 101 | minRatio: 0.8 |
102 | 102 | }), | ... | ... |