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
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
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:
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: exportAs 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:
This is now gone, I am using Next 14.1.0