iampava / imagemin-webp-webpack-plugin

Webpack plugin which converts images to the WebP format while also keeping the original files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Log information on the number of images succesfully converted

iampava opened this issue · comments

Since imagemin has a bug preventing conversions when the resulting file size is smaller, let's add a log message in this plugin so that developers know at build time if everything is gonna be ok or not.

imagemin/imagemin#285

Done!

detailedLogs now print the images that fail the conversion while the newly added strict option fails or allows the webpack build if any image isn't converted