Production build

The production build compiles and optimizes the application (next build): bundling and minifying code, prerendering static pages, splitting into chunks. It indicates each route's rendering mode and reports errors. You then launch the application with next start.

Example

next build && next start

Related concepts

The whole glossary