imagemin-webpack-plugin icon indicating copy to clipboard operation
imagemin-webpack-plugin copied to clipboard

optipng causes entire plugin to fail silently

Open psabharwal123 opened this issue 5 years ago • 2 comments

passing any value for optipng causes entire plugin to fail silently and none of the files are compressed. it would be good to add some tests to this project.

psabharwal123 avatar Aug 31 '19 08:08 psabharwal123

I'd gladly accept a PR with tests!

But I can't reproduce the optipng issues. Can you post a config?

FYI: I live in florida and am preparing for a hurricane, so I most likely won't be around to work on this project for the next week or so, possibly longer.

Klathmon avatar Aug 31 '19 14:08 Klathmon

Thanks, np, I ll post it shortly. I ran it a few times and it seems some of the images are being optimized (sometimes none of them). Should it use webpack to emit the files instead of writing them directly?

psabharwal123 avatar Aug 31 '19 18:08 psabharwal123