Support » Plugin: Draft - Tailwind CSS for WordPress. » TailwindCss Purge / TreeShaking

  • Resolved anver

    (@anver)


    Is there any solution for tree shaking unused styles so that an optimized css file can be used instead of a full tailwindcss file ? Is there any php libraries that can do this ?

Viewing 1 replies (of 1 total)
  • I found another library called PurgeCSS that is more flexible and frequently maintained than PurifyCSS to remove unused Tailwind CSS classes.
    medium.com/andrewdelprete/using-purifycss-to-remove-unused-tailwind-css-classes-173b3ee8ee01

Viewing 1 replies (of 1 total)
  • The topic ‘TailwindCss Purge / TreeShaking’ is closed to new replies.