`next.config` `output: 'export'` emits static assets you can drop behind CloudFront, S3, Netlify, or Amplify Hosting. You lose incremental ISR, server actions, and API routes unless you add another runtime elsewhere.

Checklist before you commit

  • Avoid `getServerSideProps`; prefer `getStaticProps` with `generateStaticParams` for dynamic segments you can enumerate.
  • Validate image optimization: `next/image` may need `unoptimized` or a loader compatible with your CDN.
  • Plan client-only data fetching for personalized widgets; don’t assume secrets exist at build time in the browser bundle.

For many B2B sites in 2026, static export plus a tiny BFF Lambda is cheaper and faster than overusing SSR for pages that rarely change.