Reputation: 1619
How do I configure compass to output smaller or compressed CSS files? I tried compass -s compressed
but that didn't work.
Upvotes: 32
Views: 28936
Reputation: 41236
In your config.rb
file:
output_style = :compressed
More at http://compass-style.org/help/documentation/configuration-reference/.
Upvotes: 62
Reputation: 5668
Did you try with the full name of the argument in command line ?
compass watch --output-style=compressed
Upvotes: 25
Reputation: 1809
i use the following terminal command
compass compile -e production --force
reference: http://compass-style.org/help/tutorials/production-css/
Upvotes: 9