Skip to content

Commit 793fe26

Browse files
azat-iojoshwiens
authored andcommitted
docs(readme): beautify regular expression (#38)
1 parent 24f15f2 commit 793fe26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = {
2727
new CompressionPlugin({
2828
asset: "[path].gz[query]",
2929
algorithm: "gzip",
30-
test: /\.js$|\.html$/,
30+
test: /\.(js|html)$/,
3131
threshold: 10240,
3232
minRatio: 0.8
3333
})
@@ -93,4 +93,4 @@ Option Arguments for Zopfli (see [node-zopfli](https://github.com/pierreingleber
9393
[deps-url]: https://david-dm.org/webpack-contrib/webpack-loader-seed
9494

9595
[chat]: https://img.shields.io/badge/gitter-webpack%2Fwebpack-brightgreen.svg
96-
[chat-url]: https://gitter.im/webpack/webpack
96+
[chat-url]: https://gitter.im/webpack/webpack

0 commit comments

Comments
 (0)