Skip to content
This repository
Browse code

Revert "Use sass compressor as the default CSS compressor"

This reverts commit 3eef1c7.
The css compressor should be set in sass-rails plugin. Check
for the fix.
  • Loading branch information...
commit ebe9590def08b5bf23372b0e5d88bd210864f2de 1 parent 3eef1c7
Guillermo Iguaran guilleiguaran authored
2  railties/lib/rails/generators/rails/app/templates/config/environments/
@@ -25,7 +25,7 @@
25 25 <%- unless options.skip_sprockets? -%>
26 26 # Compress JavaScripts and CSS.
27 27 config.assets.js_compressor = :uglifier
28   - config.assets.css_compressor = :sass
  28 + # config.assets.css_compressor = :sass
29 29
30 30 # Whether to fallback to assets pipeline if a precompiled asset is missed.
31 31 config.assets.compile = false

3 comments on commit ebe9590

Teddy Zetterlund

If this is being done by the sass-rails plugin, why is it only commented out in this file instead of removed?

Guillermo Iguaran

@teddyzetterlund this is left just as a guide for users that want to switch to another compressor

Teddy Zetterlund

@guilleiguaran Makes sense, though I think it kind of implies that it's not being done already (by default) by sass-rails. Maybe it's worth adding some clarity somehow?

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