Skip to content
zero2vibecodelearn vibe coding

What npm run build does

Run the project's build.

npmrunbuild
  • npmcommand — install and run JavaScript packages
  • runargument: a file, a folder, or text
  • buildargument: a file, a folder, or text

What it does when you run it

$ npm run build
> build
> next build

✓ Build finished — the project is ready to ship.

Run it yourself

The same files. Nothing here can break, and nothing leaves your browser.

Explain other commands

Written by Mikhail Kuzmitskii