Skip to content
Browse files

Added documentation for css_compressor

  • Loading branch information...
1 parent b9cd5a2 commit fe8ffcacd6abd8d4af6db113275af0257c15bdc2 @sowjumn sowjumn committed Jan 28, 2014
Showing with 6 additions and 1 deletion.
  1. +6 −1 guides/source/asset_pipeline.md
View
7 guides/source/asset_pipeline.md
@@ -938,7 +938,7 @@ Customizing the Pipeline
### CSS Compression
-There is currently one option for compressing CSS, YUI. The [YUI CSS
+One of the options for compressing CSS is YUI. The [YUI CSS
compressor](http://yui.github.io/yuicompressor/css.html) provides
minification.
@@ -948,6 +948,11 @@ gem.
```ruby
config.assets.css_compressor = :yui
```
+The other option for compressing CSS if you have the sass-rails gem installed is
+
+```ruby
+config.assets.css_compressor = :sass
+```
### JavaScript Compression

0 comments on commit fe8ffca

Please sign in to comment.
Something went wrong with that request. Please try again.