next build
BuildBuild Next.js application for production
Examples
Common usage examples
Build production bundle
next buildBuild using package.json script
npm run buildNotes
- Optimizes code for production
- Creates .next folder with build output
- Run before deploying
Related Commands
You might also find these useful