ngneat / dag

🐠 An Angular service for managing directed acyclic graphs
MIT License
154 stars 7 forks source link

Add Tailwind Style Purging #10

Closed pjlamb12 closed 3 years ago

pjlamb12 commented 3 years ago

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[x] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior

The demo app uses Tailwind, but there are no purge paths set up to slim down the styles

Expected behavior

The paths should be added so that webpack/tailwind can strip unused CSS from the site

Minimal reproduction of the problem with instructions

The change should be added to the tailwind.config.js file in the purge attribute.

What is the motivation / use case for changing the behavior?

This will make the demo app a lot smaller than it currently is.