DEV Community

Cover image for When to Use npm run build
Abdelkader Ould Hennia
Abdelkader Ould Hennia

Posted on

When to Use npm run build

In Production:
Always use **npm run build** followed by npm start when deploying to production.
For Development:
Skip npm run build. Use **npm run dev** for faster iteration with hot reloading.

Top comments (0)