Open ankibalyan opened 7 years ago
The configuration discussed at the readme should be enough. You have to be careful, though, as if you generate class names dynamically, the plugin won't be able to detect them as it relies on static analysis. This means it could eliminate rules you don't want it to eliminate. To overcome that, use purify whitelist
(in docs).
so if I'm using bootstrap css classes in my components then I should specify each and every css class in purify's whitelist
options.
My understanding is that purify should pick up className
but the only way you can say for sure is by actually trying.
Thank you @bebraw I was curious about this. I'll check and let you know.
is compatible with the react components and common chunks plug-in. how it should configured with this.