diff --git a/config/environments/production.rb b/config/environments/production.rb index dc3bab9a2..d12b86a27 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -22,6 +22,9 @@ # Apache or NGINX already handles this. config.public_file_server.enabled = ENV["RAILS_SERVE_STATIC_FILES"].present? + # Compress JS using a preprocessor. + config.assets.js_compressor = :uglifier + # Compress CSS using a preprocessor. # config.assets.css_compressor = :sass