Tailwind CSS v4.2.4 is a very small patch release focused on one Vite integration regression from v4.2.3. If you use @tailwindcss/vite, this update is worth taking; otherwise there are no broader user-facing changes to call out.
What's new
@tailwindcss/vitenow resolves paths more reliably when@importand@pluginare used alongside Vite aliases. This fixes the case where a broad alias like@could interfere with package imports such as@tailwindcss/typography; when Vite alias resolution does not produce an absolute path, resolution now falls back to the logic in@tailwindcss/node(#19947).
Fixes
- Fixed import resolution in
@tailwindcss/viteso@importand@plugincontinue to work correctly with Vite aliases after the v4.2.3 alias support changes (#19947).
Contributors
- @RobinMalfait