Compile 3rd party library's CSS #15527
Unanswered
nadlambino
asked this question in
Help
Replies: 1 comment 2 replies
-
You should not have CSS files in the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I am using tailwind in my project and it is configured to have prefix when using tailwind classes. However, a 3rd party library that I am using uses tailwind without prefix. This cause failure during build step (prod and dev). What I've tried so far is to have a cssPrefixer function that will look for classes that were used in @apply directive and prefix it. I then use this function in the
contents.transform.css
section of the config. The function seems to work properly and returns the prefixed classes. However, the issue still persists. Is there any other way to work this around?Here's my config
Beta Was this translation helpful? Give feedback.
All reactions