Deploy Next.js with Risved
Next.js is the most popular React framework. Risved detects it from your next.config.js or next.config.mjs and the next dependency.
How Risved builds it
Tier 3, Node build, Node serve. Next.js relies heavily on Node.js runtime features, so both the build and production stages use Node. Risved builds in standalone mode and serves with node server.js.
What you need
- Add
output: "standalone"to yournext.config.js - A
buildscript in yourpackage.json
What works
SSR, SSG, ISR, API routes, App Router, Pages Router, middleware.
What doesn't
Vercel-specific features like Edge Functions, Image Optimization API (use a third-party or self-hosted alternative), and Vercel Analytics.