RadValentin / postcss-prefix-selector

Prefix all CSS rules with a selector
MIT License
165 stars 16 forks source link

Whitelist option #77

Open Tofandel opened 4 years ago

Tofandel commented 4 years ago

While there is an exclude option, it would be great to also have a whitelist option where the prefix would only be added to the matching

RadValentin commented 4 years ago

I think it's a good idea but I don't have time ATM to work on this plugin, if someone wants to implement this functionality they have my full support. In the meantime, the transform option can be used as a temporary way to get whitelisting.