-
-
Save KELiON/e466cc473bf14e4d2795f90da373051d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BrotliPlugin = require('brotli-webpack-plugin'); | |
... | |
plugins: [ | |
..., | |
new BrotliPlugin({ | |
asset: '[path].br[query]', | |
test: /\.(js|css|html|svg)$/, | |
threshold: 10240, | |
minRatio: 0.8 | |
}) | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment