6.0.0 (2020-05-15)
⚠ BREAKING CHANGES
- minimum supported Node.js version is
10.13
, - the plugin now accepts an object, you should change
new CopyPlugin(patterns, options)
tonew CopyPlugin({ patterns, options })
- migrate on
compilation.additionalAssets
hook - the
ignore
option was removed in favorglobOptions.ignore
- the
test
option was removed in favor thetransformPath
option - the
cache
option was renamed to thecacheTransform
option,cacheTransform
option should have onlydirectory
andkeys
properties when it is an object - global
context
andignore
options were removed in favorpatten.context
andpattern.globOptions.ignore
options - the missing file error is now an error, before it was a warning
- the
from
option now can only be a string, if you use{ from: { glob: 'directory/**', dot: false } }
changed it to{ from: 'directory/**', globOptions: { dot: false } }
- the
copyUnmodified
was removed without replacements - the
2
version ofwebpack-dev-server
is not supported anymore - the
logLever
was removed in favor theinfrastructureLogging.level
option, please read the documentation
Features
- implement the
concurrency
option (#466) (c176d7d) - implement the
directory
option for thecacheTransform
option (29254e3) - implement the
noErrorOnMissing
option (#475) (e3803ce) - migrate on webpack built-in logger (#446) (5af02bc)