Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passed options not taking effect - Next Optimized Images [Canary] #20

Open
0x5am5 opened this issue Nov 27, 2020 · 1 comment
Open

Passed options not taking effect - Next Optimized Images [Canary] #20

0x5am5 opened this issue Nov 27, 2020 · 1 comment

Comments

@0x5am5
Copy link

0x5am5 commented Nov 27, 2020

I'm using next-optimized-images in the latest version of Nextjs (10.0.3) and I can see the compression options that I've put into my next.config.js are being handed to this loader but they seem to not have any affect.

Issue has been raised there but figured as that is just a wrapper and this has been updated more frequently, that the bug is actually in the loader.

Example of the options being passed (only image compression options are from next.config.js)

{
  outputPath: 'static/chunks/images/',
  publicPath: '/_next/static/chunks/images/',
  includeStrategy: 'react',
  mozjpeg: { quality: 60 },
  webp: { quality: 20 },
  oxipng: { level: 1 }
}
@Cr0WD
Copy link

Cr0WD commented May 24, 2021

Same for SVGO

@cyrilwanner Please review it! We love your packages!)
It can be small issue, can you fix it please ? 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants