laravel-mix-imagemin icon indicating copy to clipboard operation
laravel-mix-imagemin copied to clipboard

New installs are broken

Open mattisdada opened this issue 4 years ago • 4 comments

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

mattisdada avatar May 19 '20 00:05 mattisdada

Yes, it's works. Easy fixed by npm install [email protected] --save-dev

Can @CupOfTea696 fix it in master?

TTATPuOT avatar Jun 05 '20 10:06 TTATPuOT

I am having the same issue. Does anyone know if this will be fixed for the next version?

lvidal1 avatar May 18 '21 02:05 lvidal1

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 :)

mattisdada avatar May 26 '21 01:05 mattisdada

The last commit of the author is Feb 7th, 2021.

image

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.

rizqirizqi avatar Jun 07 '21 16:06 rizqirizqi