How do I output compressed CSS from Compass?
-
22-09-2019 - |
Question
How do I configure compass to output smaller or compressed CSS files? I tried compass -s compressed
but that didn't work.
Solution
In your config.rb
file:
output_style = :compressed
More at http://compass-style.org/help/documentation/configuration-reference/.
OTHER TIPS
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/
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow