Packages

@tailwindcss/postcss

4.3.4 · 2 Nov 2026MIT59.4M / weekRepositoryHomepagenpmAtom feed

Your version

4.0.8

21 Feb 2025Where it was published

4.3.4 is the newest release of 4.x.

In short

1 new8 fixed

Release note

Added

  • Allow @import with theme(…) options for stylesheets that contain more than just @theme rules

Fixed

  • Don't add !important to CSS variable declarations when using the important modifier

  • Vite: Ignore files and directories specified in your .gitignore file when using automatic source detection

  • Vite: Don't rely on the module graph for detecting candidates to ensure setups with multiple Vite builds work as expected

  • Vite: Ensure Astro production builds always contain classes used in client-only components

  • Vite: Always scan raw file contents for utility classes before any other transforms have been applied to ensure utility classes are scanned without any additional escaping

  • Ensure utilities with more declarations are always sorted before utilities with fewer declarations when utilities only define CSS variables

  • Only include translate-z-px utilities once in compiled CSS

Changed

  • Don't include theme variables that aren't used in compiled CSS (#16211, #16676)