iampava / imagemin-webp-webpack-plugin

Webpack plugin which converts images to the WebP format while also keeping the original files.
MIT License
113 stars 27 forks source link

Feature request: Add option to discard WebP files larger than their source files #89

Open doughamlin opened 2 years ago

doughamlin commented 2 years ago

As a user, I would like to have the option to not save a WebP file that is larger than its source file. I have opened a pull request that adds a discardLarger option #88