M
M
Maxim Alyoshin2015-12-01 00:42:27
css
Maxim Alyoshin, 2015-12-01 00:42:27

How to configure csso for gulp with structure change?

I csso my project, it minifies main.css but doesn't remove overridden properties and doesn't merge blocks with common properties. i.e.: was margin-top: 1px; margin-rigt: 1px; margin-bottom: 1px; => became margin: 1px;
How to setup csso? How I suppose this should be done in package.json, but in which one? If you have an answer, please attach a screenshot. I will be grateful. Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
HoHsi, 2015-12-01
@HoHsi

Use CleanCSS, it cleans much better. Proof cssbench
No, you shouldn't even go there if you don't know what it's for. This is a simple file manifest, no settings are stored there.
If you really set it up, then in the task of gallp.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question