There is no process in a browser, so Vite exposes environment variables on import.meta.env and only the ones with a prefix. The prefix requirement is a security default…
Vite uses esbuild in development and Rollup for the production build, which means the plugin ecosystem to look in is Rollup’s. The two-engine arrangement is the source of…
A 38-second dev server start on a machine with nothing else to do. Native ESM changes the feedback loop, and running two build tools has a specific cost.
A bundler in development builds the whole graph before serving anything, and a native ESM server builds nothing until the browser asks for a specific file. The start…