Open otr-tomek opened 7 years ago
I didn't find anything that indicates that this tool is available for offline use. And the same functionality is probably achievable using normal CSS minifiers.
This should be the "advanced" option of the clean-css.
At least it works for LESS files when I compile them with
--clean-css="--s1 --advanced"
(but since Koala does not include the less-plugin-clean-css I had to manually install it into koala's node modules)
It would be nice to have css optimizer option like: http://www.cssportal.com/css-optimize/ (for grouping css rules/selectors, csstidy)
h3{ font-size:10px; } @media (max-width: 600px) { h1{ font-size:20px; } } @media (max-width: 600px) { h2{ font-size:20px; } } ---------> h3 { font-size:10px; color:red; }
body h3 { color:green; }
@media max-width 600px { h1,h2 { font-size:20px; } }