Vite 8.4 adds stricter file serving and dynamic import retries
by Fla

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.

Fla
Written by Fla
Follow
Add as a preferred source on Google
Vite iconVite
  13
  • ...

A front-end tool with instant server start using native ESM, rapid hot module replacement, and universal plugin interface for versatile development.

No comments so far, maybe you want to be first?