How do I output compressed CSS from Compass?
How do I configure compass to output smaller or compressed CSS files? I tried co开发者_运维问答mpass -s compressed
but that didn't work.
In your config.rb
file:
output_style = :compressed
More at http://compass-style.org/help/documentation/configuration-reference/.
Did you try with the full name of the argument in command line ?
compass watch --output-style=compressed
i use the following terminal command
compass compile -e production --force
reference: http://compass-style.org/help/tutorials/production-css/
精彩评论