Added native brotli support via zlib.brotliCompressSync for Node v11.7+.
Added native support for Webpack 4 hooks API (to avoid DeprecationWarning
), along with backwards compatibility for legacy Webpack versions.
Added deleteOriginalAssets
option to remove original files that were compressed with brotli.
Updated iltorb
s available configuration parameters in documentation.
Updated iltorb to 2.0.1.
Added warning message when iltorb
is not available.
Moved compilation from this-compilation
to emit
stage. See issue #179 of extract-text-webpack-plugin for details.
Optional brotli.js fallback when iltorb is not available/couldn't be compiled.
Added support for [fileWithoutExt]
and [ext]
placeholders. This allows a mapping from e.g. 'style.css' to 'style.br.css', aiding use with tools that infer Content-Type from extension.
Initial release