☁️Build (Software)
Also known as Software Build, Build Step, Build Process, npm run build
The step that turns source code into files that can run or be shipped.
Think of it like
Think of it like baking. You start with flour and eggs, and you end with a cake you can serve.
Example
Lucy runs npm run build on her web app. Two hundred source files become three small files in a dist folder, ready to put on a server.
Why it matters
Users never run your source files. They run what the build made, so the build is what ships.
Definition
Example code
console
$ npm run build
> vite build
✓ built in 2.41sCommon mistake
Key takeaways
- 1Source in, files out. Ready to run or ship.
- 2Same every time. Same code, same result.
- 3One command. Anyone can run it.