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

Updated README with examples for new output: export #204

Closed YungTosti closed 4 months ago

YungTosti commented 4 months ago

Hey Niels, goeiemorgen 😉

First of all, amazing plugin it really helped me alot!

Anyway I noticed some lines in the documentation about next export which seems like the old way next does static exporting, nowadays they favor a line in the next config: output: export

As seen in the docs here: https://nextjs.org/docs/pages/building-your-application/deploying/static-exports

I have made some very minor changes to the README reflecting this, when following your README and adding the next export command I got the following in my console:

image

This is now gone, I am using Next 14.1.0

Niels-IO commented 4 months ago

Hi @YungTosti,

Thanks for the hint! I fixed the README with the suggested changes. (Due to wording, and formatting, I choose to make my own PR)