How do I output compressed CSS from Compass?

Mark Robinson picture Mark Robinson · Feb 25, 2010 · Viewed 28.1k times · Source

How do I configure compass to output smaller or compressed CSS files? I tried compass -s compressed but that didn't work.

Answer

Rob Wilkerson picture Rob Wilkerson · Feb 25, 2010

In your config.rb file:

output_style = :compressed

More at http://compass-style.org/help/documentation/configuration-reference/.