cyrilwanner / next-optimized-images

🌅 next-optimized-images automatically optimizes images used in next.js projects (jpeg, png, svg, webp and gif).
MIT License
2.21k stars 93 forks source link

[canary] webp settings has no effect #202

Closed tam315 closed 1 year ago

tam315 commented 4 years ago

Hi, thanks for a great library!

I'm testing canary build now, I noticed that webp options has no effect. (I want more lower quality webp images) My setting is as follows. Am I missing something?

module.exports = withPlugins([
  [
    optimizedImages,
    {
      images: {
        webp: {
          quality: 10,
        },
      },
    },
  ],
]);
evgenyboxer commented 4 years ago

@cyrilwanner any update on this? I'm doing the same for "svgo" (trying to disable a plugin), and it has no effect.

0x5am5 commented 3 years ago

Damn, I've just came across this issue. Glad I'm not the only one!

Cr0WD commented 3 years ago

@cyrilwanner Can you please fix it ??