Niels-IO / next-image-export-optimizer

Use Next.js advanced <Image/> component with the static export functionality. Optimizes all static images in an additional step after the Next.js static export.
MIT License
460 stars 56 forks source link

Next config env should be string, not json value #140

Closed zifeo closed 1 year ago

zifeo commented 1 year ago

When type checking the config with /** @type {import('next').NextConfig} */, the env variables like nextImageExportOptimizer_quality should be strings.

Niels-IO commented 1 year ago

Hi @zifeo,

Thanks, I changed this in this PR #141

zifeo commented 1 year ago

@Niels-IO That was fast, thanks! 🙌

zifeo commented 1 year ago

@Niels-IO just tried with the latest version and nextImageExportOptimizer_quality still require number and the readme may need to be updated as well