Closed robbykrlos closed 3 years ago
I have another pending PR that fixes the new CopyPlugin new format. Can someone accept this initial one?
Hi @robbykrlos
I tried to test it but I got this error.
also, CI Build has been failed too
I'll doublecheck this. Seems weird at first...
Thanks.
@raftx24 -i've check my PR submission and apparently there is a problem with the versions we use for copy-webpack-plugin
I used 5.1.2, and the code:
new CopyPlugin({
patterns: [{
from: '../resources/images',
to: 'images',
force: true,
}],
}),
is correct.
If I used your suggested code I get an error stating that patterns
is missing.
I also found and read this:
https://github.com/webpack-contrib/copy-webpack-plugin/issues/455
So I guess in the end this change is not needed on your side. Sorry for this PR then.