Packages

tailwind-merge

3.7.1 · 19 Nov 2026MIT118.2M / weekRepositorynpmAtom feed

Your version

0.4.0

22 Jul 2021Where it was published

0.9.0 is the newest release of 0.4.x.

In short

2 breaking1 new1 fixed

  • Breaking

    createTailwindMerge: Config type changed and returned object from getDefaultConfig changed. (#3)

  • Breaking

    (Breaking change) Simplify config

Release note

Breaking Changes

  • Breaking

    createTailwindMerge: Config type changed and returned object from getDefaultConfig changed. (#3)

    • dynamicClasses and standaloneClasses were merged into classGroups

    • conflictingGroups were renamed to conflictingClassGroups

    • Class group IDs are keys of classGroups object instead of full path to class group. E.g. dynamicClasses.foo.0 → foo.

New Features

  • Breaking

    (Breaking change) Simplify config

  • Add support for Tailwind v2.2.5

Bug Fixes

  • Fix non-conflicting border classes being merged incorrectly

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.