Created
February 11, 2016 12:23
-
-
Save Godoy/00ec096d802163fdc3a4 to your computer and use it in GitHub Desktop.
configuração para diminuir tempo de compilação de assets (ckeditor slow precompile assets)
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
require 'uglifier' | |
Rails.application.configure do | |
# ... | |
# config.assets.js_compressor = :uglifier | |
config.assets.js_compressor = Uglifier.new(compress: { unused: false }) | |
#... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment