Answers for "tailwind css purge whitelist"

0

tailwind css purge whitelist

Check this https://tailwindcss.com/docs/optimizing-for-production#safelisting-specific-classes

But you need to be aware that regex safelisting using PurgeCSS 
only works if you are not using JIT as explained here:
https://github.com/ngneat/tailwind/issues/100#issuecomment-827686193
Posted by: Guest on October-06-2021

Browse Popular Code Answers by Language