Hacker News new | ask | show | jobs
by janpieterz 3355 days ago
True, all those variants to allow the developer flexibility.

That's why plugins like purifycss[1] etc are interesting. When properly used and configured, a developer has the full framework under his fingers, while not outputting anything unused to the users.

[1]: https://github.com/webpack-contrib/purifycss-webpack

1 comments

For that to really work we need a way for react components, Ng directives etc to export classes they use so that purify can parse them.

Do you know or use such a setup ?

Edit. Oh it does read react and classNames. I'm sold!