X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a71b8af4d1bded364c0ba7f05c8dd851a4a19859..8adb486130d867070504c2c2c705fdfe74e5d394:/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.