Skip to content
This repository was archived by the owner on Dec 25, 2018. It is now read-only.

whitelist a camel case class not working #134

Open
pldg opened this issue May 14, 2018 · 1 comment
Open

whitelist a camel case class not working #134

pldg opened this issue May 14, 2018 · 1 comment

Comments

@pldg
Copy link

pldg commented May 14, 2018

Not working:

whitelist: ['*doNotRemove*']

.doNotRemove-this-class {
  color: red;
}

This works fine:

whitelist: ['*do_not_remove*']

.do_not_remove-this-class {
  color: red;
}

purifycss issue #156

@oller
Copy link

oller commented Jul 17, 2018

I'm encountering this issue too...

Seems like it's potentially still an issue with purifycss itself, not the webpack plugin: purifycss/purifycss#145

The fact a PR to solve this has remained unmerged, it seems like purifycss might not be actively maintained anymore.

I can't rename third party lib css files, so need some sort of solution. It looks like https://www.purgecss.com/with-webpack has a webpack integration and supports whiteList regex which should get around the case issues encountered here..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants