Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's tooling for that: https://github.com/simlrh/dead-css-loader

CSS modules are about 95% of the way to making this a solved problem.

Obviously this relies on imported components implementing CSS modules, but for a greenfield project this kind of thing works remarkably well.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: