-
-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
discardOverridden does not work #663
Comments
bug, need fix, feel free to send a PR |
When I disabled the option 'mergeLonghand' , the bug was disappear~ so it is a bug of 'postcss-merge-longhand'~ |
@jihb yep, feel free to send a PR with fix |
Is this an issue resolved? |
The issue is stranger than I thought, it looks like |
As far I know, it was never meant to work across rules, only for declarations inside the same rule. |
Suppose there is the following css code:
After being Compiled with cssnano, the output is:
the top one will be discard~
so I try to set 'preset' property like this:
but it does not work , so how can I solve this problem?
The text was updated successfully, but these errors were encountered: