Replies: 1 comment
-
One of parent component has has |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Thank you for creating such a great library!
I have a question regarding the class scanning feature.
I created a reusable component style using a plugin:
However, I noticed an unexpected behavior when using this style.
In my app, I am only applying the
serious
class to a root element:Even though I'm not explicitly using
.why
, the bundled CSS still contains this style.Is this the expected behavior, or could this be an edge case in the class scanning mechanism?
Thank you!
https://github.com/johnny-mh/tailwindcss-treeshaking-issue.git
Beta Was this translation helpful? Give feedback.
All reactions