Next.js Deployment
Configure deployment for Vercel, Node, or container targets with explicit runtime settings.
When to Use
- •Setting up deployment strategy
- •Aligning build outputs with infrastructure
Inputs
- •Target environment (Vercel, Node, container, static export)
- •Runtime requirements (edge vs node)
- •Build output constraints
Instructions
- •Confirm deployment target and runtime constraints.
- •Ensure
next.config.tsaligns with target output. - •Add environment variables via
.env.*and platform secrets. - •Verify
next buildoutput and start command. - •Validate edge vs node support for all routes.
Output
- •Deployment-ready configuration guidance.