-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking with Tailwind 4.x #241
Comments
I wonder if v4 changed something about the internal |
@LilaRest, having forward/backward compatibility for Tailwind plugins would be a huge luck this days. |
Well shit: https://tailwindcss.com/docs/upgrade-guide#disabling-core-plugins
I think it might be possible to have it work without disabling |
Hey @andriytyurnikov and @stormwarning, thanks for your input here! I've identified that the above error was due to the plugin function no longer receiving the function e(className) {
return className.replace(/\\,/g, '\\2c ');
} I've found the source code of the function here and removed the usage of Happy to get your thoughts on that! |
Luckily for me - my personal capsizing plugin has no users, so I am just abandoning it. |
I've seen that you pushed some updates yesterday @stormwarning, did this included the patch to this bug? Or should I maintain a version of this plugin in our monorepo as it won't be updated? |
Not yet, just updating some devDependencies while I dig into the issue. I'll do a proper release when I get a working version; I had some trouble even getting tests to run yesterday 😓 |
Hey!
We just upgraded to Tailwind 4.x and our builds were failing with the following error:
TypeError: undefined is not a function
After disabling the
tailwindcss-capsize
, the issue is gone.Any idea about what in the plugin could be leading to that error?
The text was updated successfully, but these errors were encountered: