Missing tailwind utility classes in production files

Production builds apply PurgeCSS to remove unused CSS. If classes are disappearing, either they aren’t used in your project, or they’re used in a way that PurgeCSS can’t find. Tailwind has a good explanation of how this works and how to customize it: https://tailwindcss.com/docs/optimizing-for-production

2 Likes