chrism / emberjs-tailwind-purgecss

A guide to using Tailwind v1.0 and Purge CSS with EmberJS
71 stars 12 forks source link

Include components folder in purgecss rules #19

Closed rohitpaulk closed 4 years ago

rohitpaulk commented 4 years ago

Ember 3.13 added a feature that allows placing component templates inside the components folder, alongside the component JavaScript files. This is now the officially suggested location to place components.

Ref: https://blog.emberjs.com/2019/09/25/ember-3-13-released.html Ref: https://github.com/emberjs/rfcs/blob/master/text/0481-component-templates-co-location.md

I ran into this when trying to deploy to Heroku, most of my CSS was missing - turned out to be because the component template files weren't included in the purgeCSS configuration

rohitpaulk commented 4 years ago

@chrism quick ping 🙂

chrism commented 4 years ago

hi @rohitpaulk sorry! thanks so much for doing this. 👍