How do I configure compass to output smaller or compressed CSS files? I tried compass -s compressed
but that didn't work.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
In your config.rb
file:
output_style = :compressed
More at http://compass-style.org/help/documentation/configuration-reference/.
回答2:
Did you try with the full name of the argument in command line ?
compass watch --output-style=compressed
回答3:
i use the following terminal command
compass compile -e production --force
reference: http://compass-style.org/help/tutorials/production-css/