webpack-contrib / purifycss-webpack

UNMAINTAINED, use https://github.com/FullHuman/purgecss-webpack-plugin
MIT License
772 stars 37 forks source link

Capture and whitelist CSS Modules classes #97

Open bebraw opened 7 years ago

bebraw commented 7 years ago

Currently Purify loses CSS Modules generated class names as they go through a reference. The Purify plugin should detect the class names somehow and whitelist them to avoid this problem.

bebraw commented 7 years ago

It's possible to work around this by whitelisting but a completely automatic solution would be better.