-
-
-
Configure PurgeCss to not remove certain styles - A blog about Laravel Framework, web development and related stuff | Barry van Veen
Today I learned about 2 easy ways to instruct PurgeCSS to not remove certain styles: safelists and comments. -
How to Remove Unused CSS Classes from Tailwind CSS, Boostrap, and more with PurgeCSS (Example) | GoRails - GoRails
CSS frameworks like Tailwind, Bootstrap, Foundation, etc all come with many CSS classes you probably aren't using. This creates huge CSS files unless we use a tool like PurgeCSS to look through our code and remove the unused classes. -
-
Use PurgeCss with Rails (and Tailwind Css)
PurgeCss is a small, but smart PostCss plugin that helps you keep your Css humble and small.