optimized-images-loader icon indicating copy to clipboard operation
optimized-images-loader copied to clipboard

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

Open 0x5am5 opened this issue 5 years ago • 1 comments

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

0x5am5 avatar Nov 27 '20 15:11 0x5am5

Same for SVGO

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

Cr0WD avatar May 24 '21 23:05 Cr0WD