
Vite 8.4 adds stricter file serving and dynamic import retries
Vite 8.4 introduces an opt-in allow-list approach for development server file serving through server.fs.strict: 'extended' and server.fs.allow: [], with the approach planned as the next major version's default.
It also updates the dynamic-import preload helper to re-fetch a chunk's CSS when a failed import is retried in browsers that support retrying module fetches.
Other additions include subpath imports in CSS url(), duplicate CLI process detection, Wasm source phase imports, and highly experimental bundled SSR dev mode.
No comments so far, maybe you want to be first?
Gu



