optimized-images-loader
optimized-images-loader copied to clipboard
Passed options not taking effect - Next Optimized Images [Canary]
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 }
}
Same for SVGO
@cyrilwanner Please review it! We love your packages!) It can be small issue, can you fix it please ? 😢