X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9018d1af07c53b03bf8caf0480b931dc25f57147..0a3b052cf617955571fa88b1bba4290cd27d38d6:/config/environments/production.rb diff --git a/config/environments/production.rb b/config/environments/production.rb index fb0c53b97..5c72d449c 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -25,7 +25,7 @@ Rails.application.configure do config.public_file_server.enabled = ENV["RAILS_SERVE_STATIC_FILES"].present? # Compress JavaScripts and CSS. - config.assets.js_compressor = :uglifier + config.assets.js_compressor = Terser.new # config.assets.css_compressor = :sass # Do not fallback to assets pipeline if a precompiled asset is missed.