Skip to content

Conversation

@elchininet
Copy link
Owner

This pull request fixes the unwanted deletion of empty rules. The plugin should clean the rules that are empty due to its internal process, but should not clean the rules that were there empty in the original CSS file, if a user wants to clean those rules, they should use another postcss plugin for that purpose. Cleaning empty CSS rules is out of the scope of this plugin.

Closes #190

@elchininet elchininet added bug Something isn't working fix labels Apr 8, 2023
@elchininet elchininet self-assigned this Apr 8, 2023
@elchininet elchininet merged commit 405d990 into master Apr 8, 2023
@elchininet elchininet deleted the avoid_removing_empty_rules branch April 8, 2023 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing an option to not remove empty rules.

2 participants