Changelog

vitejs/vite · · 3 commits

Vite fixes URL watch tracking

Vite now watches assets referenced via `new URL(..., import.meta.url)` even when query strings or hashes are present, plus a couple of maintenance updates.

Fix asset URL watching for query/hash refs (lprnmnse954a9c)

Vite now strips query strings and hashes before deciding whether to addWatchFile for new URL(..., import.meta.url) references. That means files like ./foo.png?inline or ./foo.png#hash will still be watched correctly during dev, avoiding stale reload behavior.

Other misc changes

  • Updated tsdown to ^0.23.2 in create-vite and plugin-legacy (ac9a56d)
  • Removed outdated minimumReleaseAgeExclude entries from workspace config (btea2ed1031)