Last active
December 17, 2015 17:39
-
-
Save styx/5647993 to your computer and use it in GitHub Desktop.
Rails 3 -> Rails 4 upgrade. Assets compression.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AppName::Application.configure do | |
# ... | |
# Compress JavaScripts and CSS | |
# config.assets.compress = true <- remove the Rails 3 setting | |
config.assets.js_compressor = :uglifier | |
config.assets.css_compressor = :sass | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment