3.0.0 (2020-05-01)
⚠ BREAKING CHANGES
- minimum supported Node.js version is
10.13
- the
chunkFilter
was removed, please usetest
/include
/exclude
options - change arguments order for the
warningFilter
option fromFunction<(warning, file, source) -> Boolean>
toFunction<(file, warning, source) -> Boolean>
- when the
extractComments.filename
option is a function it pass only one argument and it is object withfilename
,basename
,query
andhash
properties - if the value from the
extractComments.filename
option conflicts with existing assets, an error will be thrown instead of a warning - use the
optimizeAssets
hook for webpack@5