Skip to content

Commit 7489a78

Browse files
azat-iomichael-ciniawsky
authored andcommitted
docs(#38): beautify regular expression (@azat-io)
1 parent af789b2 commit 7489a78

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)