MadLittleMods / postcss-increase-specificity

Why? Dealing with CSS you can't remove(mainly from a 3rd party). Increases specificity of selectors.
MIT License
50 stars 16 forks source link

Avoid prefixing :export for css modules #25

Open michelfrf opened 3 years ago

michelfrf commented 3 years ago

Avoid prefix for :export since :export block defines the symbols that are going to be exported to the consumer. It can be thought of functionally equivalent to the module.export

michelfrf commented 3 years ago

This was causing issues with export since it was prefixing :export which is a ccs modules functionality similar to modules.export, please refer to the following https://github.com/css-modules/icss#export thanks and apologies if I came back to you later.

MadLittleMods commented 3 years ago

Thanks for the contribution @michelfrf. Looking good so far 🌵

michelfrf commented 3 years ago

The test was added let me know if you are happy with the changes.