creating a bundle using "vite build" .. tailwind safelist not working as expected. #13262
sandeep-gh
started this conversation in
General
Replies: 1 comment
-
I'm running into the same issue. Vite is pulling everything else correctly from the config (colors, theme, etc) but not safelist |
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
-
I have vite+tailwind setup where I create a bundle using vite build.
I am not sure whats wrong with the config but the safelist classes do not show up in style.css.
The complete code is here
My tailwind.config.js looks as follows:
while vite.config.ts
The postcss.config.ts is configured as:
Not sure where the setup is incorrect. Any pointers would be quite helpful.
Beta Was this translation helpful? Give feedback.
All reactions