question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

imageminWebp supported?

See original GitHub issue

I’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:closed
  • Created 4 years ago
  • Comments:19 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
alexander-akaitcommented, Jul 23, 2021

Yep, we are working on the new version, there it will be solved

1reaction
alexander-akaitcommented, Sep 2, 2020

@erichstark agree, in our TODO, release will be at the end week, hope 😄

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found