diff --git a/config/environments/production.rb b/config/environments/production.rb index 2c403cd..9acaab6 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -23,7 +23,8 @@ config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present? # Compress JavaScripts and CSS. - config.assets.js_compressor = :uglifier + #config.assets.js_compressor = :uglifier + config.assets.js_compressor = Uglifier.new(harmony: true) # config.assets.css_compressor = :sass # Do not fallback to assets pipeline if a precompiled asset is missed.