3 ms·
Yes, but this wouldn't work either. I can add the node_modules/my-library path to be purged, but that means that I still will get included in my application EVE
by midrus 6y ago
Yes, but this wouldn't work either. I can add the node_modules/my-library path to be purged, but that means that I still will get included in my application EVERY class used in the component library, despite I might be using just every component or not.
This is a major shortcoming for using tailwind in a company/corporate context in my opinion.
I still like it for my own side projects though.
- stefanfisk 6y agoI think you’ll find that there’s a common subset of classes that are used by most components, and that you quickly reach a point where adding new components hardly alters the built css file at all.