Change8

v6.3.0

📦 viteView on GitHub →
4 features🐛 4 fixes🔧 5 symbols

Summary

Vite 6.3.0 introduces support for CSS environment variables and performance optimizations for module invalidation alongside various bug fixes.

Migration Steps

  1. Run npm install or yarn install to update dependencies

✨ New Features

  • Support for environment variables in CSS via env()
  • Enhanced performance for module graph invalidation
  • Improved error messaging for failed plugin resolutions
  • Added support for custom logger in the dev server

🐛 Bug Fixes

  • Fix HMR regression when using circular dependencies in TypeScript
  • Correctly handle base path in CSS source maps
  • Fix race condition in build-time asset processing
  • Resolve issue where certain node_modules were incorrectly optimized

🔧 Affected Symbols

createServerbuildCSSOptionsLoggerModuleNode