The production build turns source code into optimized static files: bundling, minification, splitting. With Vite, vite build produces a dist/ folder whose file names contain a hash of the content, which allows long caching without the risk of a stale version.
Example
vite build