Next.js Sitemap for Static Export: The force-static Solution

Generate sitemap.xml for Next.js static exports using force-static mode. No server required. Works with Cloudflare Pages, Netlify, Vercel, and GitHub Pages.