vite build

Category: Web App Development

vite build

Compile the app for production into dist

Runs a production build that bundles, minifies and treeshakes your code into the dist folder. The output is static assets you can serve from any host or CDN. Add --sourcemap to emit source maps for debugging minified code.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.