Replies: 1 comment
-
Hey @doolez - there are two possibilities here
Hope it helps somehow! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone, I am hoping someone can help me with the following problem. I have tried multiple options for clean-css and can't seem to get it to merge all the properties for the selector with the end result being what I show under Desired Result. Is there a way to achieve this with clean-css?
Desired Result
This is what I want: all properties merged for the same selector.
Result after cleanCSS (level 0, rebase: false, format: 'beautify')
I think the key to the problem are the map source paths to why it's not working, but it feels like there should be a way to ignore them if that is the case.
Result after cleanCSS (defaults)
The results are minified, but for legibility, I am placing them on separate lines below.
Result after cleanCSS with options
Same as above, I am placing each one on separate lines below. These options combine the first two but not the last one. Are there any options that will combine them all?
Beta Was this translation helpful? Give feedback.
All reactions