Back to Glossary

Build

aka: compileaka: build step

The Quick Version

Turning your source code into the optimised files a browser can run.

How it actually works

A build bundles, transforms and minifies your code, type-checks it, and produces a dist/ or .output/ folder. It is where most deployment failures happen — and where they should happen, before users see them.

Why does it matter?

'Works on my machine' usually means the dev server worked but nobody ever ran a production build.

Example

npm run build