I tried this with Gatsby and it works great:
https://www.purgecss.com/
It removes all unused CSS rules. I think it cut down the size of the CSS by 57%.
I tried this with Gatsby and it works great:
https://www.purgecss.com/
It removes all unused CSS rules. I think it cut down the size of the CSS by 57%.