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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid next.config.js options detected

iosonosempreio opened this issue · comments

With Next.j 13.5.6 and node v18.18.2

 ⚠ Invalid next.config.js options detected: 
 ⚠     Expected string, received number at "env.nextImageExportOptimizer_quality"
 ⚠     Expected string, received boolean at "env.nextImageExportOptimizer_storePicturesInWEBP"
 ⚠     Expected string, received boolean at "env.nextImageExportOptimizer_generateAndUseBlurImages"
 ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config

Using default configs copy-pasted from repo readme.

Hi @iosonosempreio,

Thanks for the heads-up! I now switched them all to string values and updated the README in PR #176