Skip to content

vite 6.1.0

6.1.0 (2025-02-05)

Features

Bug Fixes

  • avoid builtStart during vite optimize (#19356) (fdb36e0)
  • build: fix stale build manifest on watch rebuild (#19361) (fcd5785)
  • allow expanding env vars in reverse order (#19352) (3f5f2bd)
  • avoid packageJson without name in resolveLibCssFilename (#19324) (f183bdf)
  • html: fix css disorder when building multiple entry html (#19143) (e7b4ba3)
  • css: less [@plugin](https://github.com/plugin) imports of JS files treated as CSS and rebased (fix #19268) (#19269) (602b373)
  • deps: update all non-major dependencies (#19296) (2bea7ce)
  • don't call buildStart hooks for vite optimize (#19347) (19ffad0)
  • don't call next middleware if user sent response in proxy.bypass (#19318) (7e6364d)
  • resolve: preserve hash/search of file url (#19300) (d1e1b24)
  • resolve: warn if node-like builtin was imported when resolve.builtin is empty (#19312) (b7aba0b)
  • respect top-level server.preTransformRequests (#19272) (12aaa58)
  • ssr: fix transform error due to export all id scope (#19331) (e28bce2)
  • ssr: pretty print plugin error in ssrLoadModule (#19290) (353c467)
  • use nodeLikeBuiltins for ssr.target: 'webworker' without noExternal: true (#19313) (9fc31b6)
  • change ResolvedConfig type to interface to allow extending it (#19210) (bc851e3)
  • correctly resolve hmr dep ids and fallback to url (#18840) (b84498b)
  • deps: update all non-major dependencies (#19190) (f2c07db)
  • hmr: register inlined assets as a dependency of CSS file (#18979) (eb22a74)
  • make --force work for all environments (#18901) (51a42c6)
  • resolve: support resolving TS files by JS extension specifiers in JS files (#18889) (612332b)
  • ssr: combine empty source mappings (#19226) (ba03da2)
  • use loc.file from rollup errors if available (#19222) (ce3fe23)
  • utils: clone RegExp values with new RegExp instead of structuredClone (fix #19245, fix #18875) (#19247) (56ad2be)

Performance Improvements

Documentation

Code Refactoring

Miscellaneous Chores

Beta Changelogs