[v4] How to test plugins? #15917
Unanswered
octet-stream
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm rewriting my plugin to support both legacy JS plugins and CSS version for v4 (the code for v4 is in the feat/tw4 branch), but I have no idea how to test it, because in v4 config path is detected automatically, but I want to test both versions for backwards compatibility. Since I use Vitest Browser Mode to verify the correctness of generated CSS in different browsers, I think I need to use actual Tailwindcss. Is there any official recommendations or ways to test plugins (in my case - custom variants) written for v4 and v3?
Beta Was this translation helpful? Give feedback.
All reactions