Changelog
902e37a: fix: remove support for prefix, add new export for prefixed version. Closes #58.
fab2a5b: chore: bump version to 1.4.0 and update dependencies
c20dc32: fix(build): make transform.ts accept two arguments
⚠️ BREAKING CHANGE ⚠️
Support for Tailwind CSS's prefix option was moved to tw-animate-css/prefix
because it was breaking the --spacing
function. Users requiring prefixes should replace their import:
- import "tw-animate-css";
+ import "tw-animate-css/prefix";
I do not plan to introduce breaking changes like this to non-major releases in the future. But because more people use spacing rather than prefixes, reverting the previous version's (obviously breaking) change seems reasonable.