Releases: webpack/copy-webpack-plugin
Releases · webpack/copy-webpack-plugin
v5.1.2
v6.0.3
v6.0.2
v6.0.1
v6.0.0
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.additionalAssetshook - the
ignoreoption was removed in favorglobOptions.ignore - the
testoption was removed in favor thetransformPathoption - the
cacheoption was renamed to thecacheTransformoption,cacheTransformoption should have onlydirectoryandkeysproperties when it is an object - global
contextandignoreoptions were removed in favorpatten.contextandpattern.globOptions.ignoreoptions - the missing file error is now an error, before it was a warning
- the
fromoption now can only be a string, if you use{ from: { glob: 'directory/**', dot: false } }changed it to{ from: 'directory/**', globOptions: { dot: false } } - the
copyUnmodifiedwas removed without replacements - the
2version ofwebpack-dev-serveris not supported anymore - the
logLeverwas removed in favor theinfrastructureLogging.leveloption, please read the documentation
Features
- implement the
concurrencyoption (#466) (c176d7d) - implement the
directoryoption for thecacheTransformoption (29254e3) - implement the
noErrorOnMissingoption (#475) (e3803ce) - migrate on webpack built-in logger (#446) (5af02bc)