copy-webpack-plugin
Advanced tools
Changelog
8.0.0 (2021-03-04)
[hash]
and [fullhash]
works as in webpack (i.e. it is hash
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 use output.hashDigest
, output.hashDigestLength
and output.hashFunction
options to setup it[N]
was removed in favor of using the to
option as a function[folder]
was removed[emoji]
was removedChangelog
7.0.0 (2020-12-10)
5
flatten
option was removed in favor [name].[ext]
value for the to
option,transformPath
option was removed in favor Function
type of the to
option, look at examplescacheTransform
option was removed in favor Object
type of the transform
option, look at examplescompilation.hooks.processAssets
hooknoErrorOnMissing
option