All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
deleteOriginalAssets
option (62d3d0a)algorithm
(483f328)schema-utils
filename
option was changed to "[path][base].gz"
[dir]
placeholder, please use the [path]
placeholderFunction
type of the filename
option should return value with placeholders, please see an example[fragment]
, [base]
and [path]
placeholders for the filename
optionfilename
option is '[path].gz'
processAssets
hook for webpack@5
compatibility, it can create incompatibility with plugins that do not support webpack@5
, please open an issue in their repositorieswebpack@5
(1f9674e)webpack@5
cache
is true
by default for webpack@4cache
option is ignored in webpack 5. Please use https://webpack.js.org/configuration/other-options/#cache.10.13
8.9.0
filename
option now accept {String}
valuepeerDependencies
of "webpack": "^4.3.0"
engines
of "node": ">= 6.9.0 <7.0.0 || >= 8.9.0
options.level
, options.flush
, options.dictionary
and etc) grouped into compressionOptions
optionasset
option was removed (use filename
option instead)filename
option is now [path].gz[query]
prepare
instead of prepublish
for release (0b90a71)cache
option (options.cache
) (#86) (49a8a77)include
and exclude
options (options.include|options.exclude
) (#82) (1ce3024)peerDependencies
of "webpack": ">= 3.0.0-rc.0 || ^3.0.0"
.engines
of "node": ">=4.3.0 < 5.0.0 || >= 5.10
Migration:
npm i -D zopfli-webpack-plugin
MIGRATION: Zopfli is now in it's own plugin the options have remained the same. For those using the Zopfli option in compression-webpack-plugin
swap it out for https://github.com/webpack-contrib/zopfli-webpack-plugin
peerDependencies
of "webpack": ">= 3.0.0-rc.0 || ^3.0.0"
.engines
of "node": ">=4.3.0 < 5.0.0 || >= 5.10
Migration:
npm i -D zopfli-webpack-plugin