Build or preview a Vite project. The dev server (bare vite) and dependency optimizer are left out.
vite buildBundle the project for production.
rootout_dirsourcemaprootout_dirwatchpath · positional 0path--outDirboolean--sourcemapboolean--watch-wboolean--emptyOutDirvite previewServe the built output locally.
rootportstrict_portpath · positional 0integer--portboolean--strictPortfigcompletionfigcompletionfigcompletionBefore it fills your prompt, Otty checks the installed vite against its version. A form that does not match your version is not offered.