Changelog

vitejs/vite · · 4 commits

Vite fixes import scanning and docs clarifications

A bugfix tightens dependency scanning for type-prefixed imports, alongside a few docs corrections for config defaults and Rolldown behavior.

Import scanner now handles bindings starting with type (btea39330f4)

The optimizer scan regex was tightened so imports like import typescript from 'typescript' and import typeorm from 'typeorm' are no longer misclassified as import type. This prevents missed dependencies during pre-bundling and avoids a subtle false negative in the import scanner.

Other misc changes

  • Corrected the documented default for server.sourcemapIgnoreList to match path-segment matching, not a simple substring check (kakiuwang-ui1544bb1)
  • Documented Vite’s preserveEntrySignatures defaults for regular, library, and SSR builds (koriyoshi2041bd97903)
  • Fixed a typo in the plugins guide: “builtin” → “built-in” (GhaythBenAbid15569ce)