We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24f15f2 commit 793fe26Copy full SHA for 793fe26
README.md
@@ -27,7 +27,7 @@ module.exports = {
27
new CompressionPlugin({
28
asset: "[path].gz[query]",
29
algorithm: "gzip",
30
- test: /\.js$|\.html$/,
+ test: /\.(js|html)$/,
31
threshold: 10240,
32
minRatio: 0.8
33
})
@@ -93,4 +93,4 @@ Option Arguments for Zopfli (see [node-zopfli](https://github.com/pierreingleber
93
[deps-url]: https://david-dm.org/webpack-contrib/webpack-loader-seed
94
95
[chat]: https://img.shields.io/badge/gitter-webpack%2Fwebpack-brightgreen.svg
96
-[chat-url]: https://gitter.im/webpack/webpack
+[chat-url]: https://gitter.im/webpack/webpack
0 commit comments