imageminWebp supported?
See original GitHub issueI’ve been trying to add imagemin-webp package within the plugins section for ImageminPlugin config, but it does not output any .webp images, only .jpg, .png etc files. Here is my config for your plugin:
const imageMinPlugin = new ImageminPlugin({ imageminOptions: { plugins: [ imageminGifsicle({ interlaced: true, optimizationLevel: 3 }), imageminOptipng({ interlaced: true, optimizationLevel: 3 }), imageminMozjpeg({ quality: 80, progressive: true }), imageminWebp({quality: 50}) ] }, test: /\.(jpe?g|png|gif|svg)$/i });
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (11 by maintainers)
Top Results From Across the Web
imagemin-webp - npm
imageminWebp (options?)(buffer). Returns a Promise<Buffer> with the optimized image. options. Type: object. preset.
Read more >WebP image format | Can I use... Support tables for ... - CanIUse
Image format (based on the VP8 video format) that supports lossy and lossless ... WebP generally has better compression than JPEG, PNG and...
Read more >imagemin-webp-webpack-plugin/README.md - GitHub
Although WebP images are not currently supported in all browsers, they are at least 25% smaller than PNG's or JPEG's. So, certain users...
Read more >Not able to convert images to WebP using imagemin-webp
I'm trying to convert more than one PNG and JPG file to WebP using imagemin-webp instead of using cwebp to convert one at...
Read more >Use WebP images - web.dev
The Imagemin WebP plugin is generally the best choice if your ... If your site only supports WebP compatible browsers, you can stop...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep, we are working on the new version, there it will be solved
@erichstark agree, in our TODO, release will be at the end week, hope 😄