'serve': during dev (vite command) 'build': when building for production (vite build command)
vite
vite build
Optional
'serve': during dev (
vitecommand) 'build': when building for production (vite buildcommand)