Vite 7 architecture — why we rewrote the dev server
Vite 7 ships next month. The headline is the new dev server, which is a near-complete rewrite of the module graph and HMR pipeline. Here's the why and the how. The old graph couldn't scale Vite 4 and 5 used a flat module map keyed by URL. It worked beautifully for projects under…
