Pure HTML/CSS/JS
Set output: 'export' and next build generates an out/ directory of static files. Drop them on any static host (S3, GitHub Pages, Cloudflare Pages, plain nginx).
What you give up
| Works | Doesn't work |
|---|---|
| Server Components (build-time) | Server Actions |
| Static Route Handlers (GET) | Proxy / dynamic Route Handlers |
| Client Components + SWR | ISR / on-demand revalidation |
generateStaticParams | cookies(), headers() |
next/image with custom loader | Default image optimizer |
When to use it
Marketing sites, docs, portfolios — anything that's pure content. The cheapest deploy possible: any CDN with no compute.