开发者

How do I output compressed CSS from Compass?

开发者 https://www.devze.com 2022-12-21 10:58 出处:网络
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:

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/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号