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.
413 stars 51 forks source link

Update readme for static imports and export command #201

Closed el-j closed 3 weeks ago

el-j commented 5 months ago
  1. some little updates for the readme in point 4. to prevent getting trapped with static import ;)
  2. changed the export command according to the nextjs docs image
Niels-IO commented 4 months ago

Hi @el-j,

Thanks for the PR. I updated the README with the export commands.

For the static images though, I tested it again, and it works in my example app (that is in the example folder of the repo here) where I use a statically imported image from the public folder.