Chapter 09
Build output, runtimes and self-hosting
Whatnext build produces and what runs where under next start: Node.js versus the deprecated Edge runtime, self-hosting on several instances, static export and its limits, and how NEXT_PUBLIC_ variables are inlined at build time.- 010What does
next buildproduce, and what runs where undernext start?Corehard - 020Why is the Edge Runtime deprecated, and what did it trade away?medium
- 030What breaks when you run a Next.js app on several instances?hard
- 040What does
output: 'export'give up?medium - 050Why does a
NEXT_PUBLIC_variable keep its old value after the environment changes?medium