Releases: webpack-contrib/copy-webpack-plugin
Releases · webpack-contrib/copy-webpack-plugin
v10.0.0
v9.1.0
v9.0.1
v9.0.0
v8.1.1
v8.1.0
v8.0.0
⚠ BREAKING CHANGES
- logic for some placeholders was changed:
[hash]
and[fullhash]
works as in webpack (i.e. it ishash
of build, not content hash of file), to migrate change[name].[hash].[ext]
to[name].[contenthash][ext]
[ext]
doesn't require.
(dot) before, i.e. change[name].[ext]
to[name][ext]
[<hashType>:contenthash:<digestType>:<length>]
and[<hashType>:hash:<digestType>:<length>]
is not supported anymore, you can useoutput.hashDigest
,output.hashDigestLength
andoutput.hashFunction
options to setup it[N]
was removed in favor of using theto
option as a function[folder]
was removed[emoji]
was removed
Features
v6.4.1
v7.0.0
7.0.0 (2020-12-10)
⚠ BREAKING CHANGES
- minimum supported webpack version is
5
- the
flatten
option was removed in favor[name].[ext]
value for theto
option, - the
transformPath
option was removed in favorFunction
type of theto
option, look at examples - the
cacheTransform
option was removed in favorObject
type of thetransform
option, look at examples - migration on the
compilation.hooks.processAssets
hook - empty filtered paths throw an error, you can disable this behaviour using the
noErrorOnMissing
option