markstory / mini-asset

A simple set of asset build tools that provides a config file and extensible integrations with pre-processors & minifiers.
MIT License
64 stars 17 forks source link

SimpleCssMin removes required whitespace #42

Closed jaykay-design closed 7 years ago

jaykay-design commented 7 years ago

the following CSS rule breaks when using SimpleCssMin:

.hoverable :hover span {foo:bar;}

is compressed to:

.hoverable:hover span {foo:bar;}

Any rule with a pseudo-class not attached to a class or element will break.

markstory commented 7 years ago

Closing as a pull request is open.