Change8

v4.0.9

📦 tailwind-cssView on GitHub →
1 features🐛 6 fixes🔧 5 symbols

Summary

This release focuses on bug fixes for the Vite integration, Standalone CLI, and @reference directive, while improving CSS variable output efficiency.

✨ New Features

  • JS APIs are now available to plugins and configurations when using the Standalone CLI.

🐛 Bug Fixes

  • Fixed a crash in Vite when importing virtual modules ending in .css from JavaScript.
  • Fixed an issue where @reference would omit keyframe animations.
  • Ensured z-*! utilities are correctly marked as !important.
  • Added support for reading UTF-8 CSS files that start with a byte-order mark (BOM).
  • Fixed truncation of nested functions in selectors used within JavaScript plugins.
  • Optimized @reference output to emit variable fallbacks instead of duplicate CSS variable declarations.

🔧 Affected Symbols

Standalone CLIVite@referencez-*!JS Plugins