Changelog

vitejs/vite · · 3 commits

Build watch tests stabilized; preload sourcemaps sped up

Vite improves build-watch reliability in playground tests and ships a perf optimization for preload-rewrite source maps.

Speed up build preload rewrites by shifting sourcemaps (mattlewis92dbce0c6) Vite now shifts source maps during preload URL rewrites instead of re-tracing them, reducing build-time overhead for this path. The change also adds focused tests around SourcemapEditor mapping behavior to protect the new implementation.

Other misc changes

  • Stabilized flaky asset build-watch playground tests by waiting for rebuild idle time before asserting results (maschwenk60c260d).
  • Simplified a few CSS/HTML build conditions and removed an unnecessary bundled-client guard in HTML injection (sapphi-reda379269).