Open mattisdada opened 4 years ago
Yes, it's works.
Easy fixed by
npm install copy-webpack-plugin@5.1.1 --save-dev
Can @CupOfTea696 fix it in master?
I am having the same issue. Does anyone know if this will be fixed for the next version?
I am having the same issue. Does anyone know if this will be fixed for the next version?
Last commit was on on 22 Jun 2019, so I don't think there will be a next release honestly :)
The last commit of the author is Feb 7th, 2021.
Hi @CupOfTea696 , sorry if I'm bothering you, are you still there?
If the author has another work or somehow can't continue maintaining this repo, can we create a clone to fix this CopyPlugin issue? If the people here need it, I may have time to clone and upgrade this repo.
New installs are broken due to it installing Copy plugin 6.* and that has a breaking change with how to initialise the plugin
Old API:
CopyPlugin(patterns, options)
New API:
CopyPlugin({ patterns, options })
This is easily resolved by changing package.json to use 5.1.1 instead
Documentation about this change: https://github.com/webpack-contrib/copy-webpack-plugin/releases/tag/v6.0.0