brotli-webpack-plugin
↔ Webpack Plugin to Compress (js|css|html|svg) bundle assets with brotli | zlib | iltorb
asset
to set output asset name, default to brotli ext + [query]?
test
regex to define which files to compress
minRatio
to only compress assets that result in better ratio
threshold
to set min byte size level to process else ignore
webpack will deprecate
(node:13048) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be fro
zen in future, all modifications are deprecated.
BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilati
on.
Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
(Use `node --trace-deprecation ...` to show where the warning was created)