compass/doc-src/content/tutorials/production-css.markdown

926 B

title layout classnames
Production Stylesheets tutorial
tutorial

Production Stylesheets

See the Configuration Reference for a complete list of available configuration options.

Strategies for Compiling Stylesheets for Production

Option A: Use the compass production defaults.

compass compile -e production --force

Note: This only changes the compass defaults, options you've specified explicitly in your configuration will not be changed.

Option B: Override your configuration file settings on the command line

compass compile --output-style compressed --force

Option C: Create a separate configuration file for production

cp config.rb prod_config.rb

..edit prod_config.rb to suit  your needs..

compass compile -c prod_config.rb --force