Changelog

vitejs/vite · · 3 commits

Env deprecation warning and glob fix

Vite now warns on deprecated envFile usage and fixes optimizer glob expansion to skip private null exports.

Warn on deprecated envFile config (SSDWGGed7b283)

Vite now emits a warning when envFile: false is used, nudging users to switch to envDir: false instead. This improves config migration clarity without changing behavior.

Skip null-valued exports in optimizer glob resolution (LeSingh18b9f5cd)

The optimizer’s expandGlobIds now ignores package export targets that are explicitly null, which Node uses to mark private/blocked subpaths. That prevents private package paths from being treated as resolvable glob matches and makes dependency pre-bundling align better with package export semantics.

Other misc changes

  • Docs/blog URL correction for the Vite 6 announcement (sanjibania2fff21)