This repository highlights an issue combining next-sitemap with next export when hosting on a static host.
See the thread which prompted this repo
Setup
[email protected], outputs its sitemap to the public directory.
I followed the next documentation for export and have set my npm build script to next build && next export
.
and I followed the next-sitemap documentation instructing me to define a postbuild npm command to trigger the sitemap building.
Problem