github tailwindlabs/prettier-plugin-tailwindcss v0.8.0

5 hours ago

Changed

  • Require at least Prettier 3.7.x (#420)

Added

  • Export public sorting APIs to /sorter (#438)

Fixed

  • Remove top-level await (#420)
  • Improve load-time performance (#420)
  • Improve config resolution caching with directory-based cache (#432)
  • Load compatible plugins on demand and tighten plugin detection (#437)
  • Load v3/v4 modules only when needed (#439)
  • Remove recast/ast-types deps and optimize dynamic JS attribute handling (#440)
  • Remove unused deps (#441)
  • Use the plugin that has already been imported rather than dynamically importing it again (#442)
  • Skip visiting non-node children (#443)
  • Optimize whitespace-only class detection (#429)
  • Fix v3 config loading with Jiti re-exports (#448)
  • Collapse whitespace in template literals with adjacent quasis (#427)
  • Improve canCollapseWhitespaceIn handling for "tailwindPreserveWhitespace": true (#428)

Don't miss a new prettier-plugin-tailwindcss release

NewReleases is sending notifications on new releases.