Vercel now automatically optimizes your Vite projects. When importing a new project, it will detect Vite and configure the right settings for you.
In addition, System Environment Variables are made available under the
VITE_prefix by default and you can now easily start new Vite projects from the dashboard.
Check out the documentation as well.