CupOfTea696 / laravel-mix-imagemin

Laravel Mix imagemin plugin
MIT License
19 stars 14 forks source link

New installs are broken #9

Open mattisdada opened 4 years ago

mattisdada commented 4 years ago

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

TTATPuOT commented 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?

lvidal1 commented 3 years ago

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

mattisdada commented 3 years ago

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

rizqirizqi commented 3 years ago

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.