The static site that outgrew static files
The genuinely hard part was deployment. Next.js does not trace JSON that is read at runtime rather than imported, so the serverless function shipped without its own content and 404'd in production while working perfectly in development. The fix was explicit output file tracing plus a loader that probes the serverless bundle root directly — a real production gotcha that only appears past a certain data size.