purifycss-webpack icon indicating copy to clipboard operation
purifycss-webpack copied to clipboard

React components - className

Open infantito opened this issue 8 years ago • 1 comments

My webpack.config has the loader purifycss and when use class names in my components react, this doesn't recognize it and clear them.

some solution?

image image

infantito avatar May 07 '17 08:05 infantito

PurifyCSS doesn't detect that case based on static analysis alone. Since you are using CSS Modules, it takes some extra configuration as discussed in the readme.

bebraw avatar May 07 '17 08:05 bebraw