Make use of the new purge options within tailwind.config.js.

https://v1.tailwindcss.com/docs/controlling-file-size#removing-unused-css

Comments

opdavies created an issue. See original summary.

  • opdavies committed c7c7f7c on 4.x
    Issue #3186157: Use Tailwind's built-in Purge settings
    
opdavies’s picture

Added some default purge settings, but kept it disabled by default so that the unpurged versions are able to be committed so are there by default and available on SimplyTest.me.

Also, I don't think that we can make any assumptions about where files like Twig templates and Drupal config files are located so I've not added anything specific here and this will need to be added by the user.

opdavies’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.