diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-01-28 17:06:21 -0800 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-01-28 17:06:21 -0800 |
commit | f912eed40a6f2360ce64bdfd6d564b6f70e4c85e (patch) | |
tree | e7a0eeddfcc86290ceaba82320b8688d072bd092 | |
parent | 0fcbc659ae819f4021c1725874eb52f99b78901d (diff) | |
parent | fe8ffcacd6abd8d4af6db113275af0257c15bdc2 (diff) | |
download | rails-f912eed40a6f2360ce64bdfd6d564b6f70e4c85e.tar.gz rails-f912eed40a6f2360ce64bdfd6d564b6f70e4c85e.tar.bz2 rails-f912eed40a6f2360ce64bdfd6d564b6f70e4c85e.zip |
Merge pull request #13864 from sowjumn/master
Added documentation for css_compressor in asset_pipeline.md
-rw-r--r-- | guides/source/asset_pipeline.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md index bce5d6c55f..40e0770177 100644 --- a/guides/source/asset_pipeline.md +++ b/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 |