peteboere / css-crush

CSS preprocessor.
http://the-echoplex.net/csscrush
MIT License
537 stars 51 forks source link

Formatter Option Not Working as Documented #55

Closed beaniemonk closed 10 years ago

beaniemonk commented 10 years ago

Hi Pete, I just noticed this the other day..

The documentation states that the 'formatter' option only applies when minify is set to false.

However in 2.0, I compiled using 'minify=>true' and 'formatter=>block', and the CSS file that was output was not minified but was block formatted. I had to unset the 'formatter' option to get minification.

Just wanted to give you a heads up. Thanks.

peteboere commented 10 years ago

Yes, this was updated recently so if a formatter is set it will override the minify option.

It's in the changelog but the online docs have not been updated. I'll do that when I get a second.