]> git.openstreetmap.org Git - rails.git/blobdiff - config/environments/production.rb
Update to rails 6.1.4.2
[rails.git] / config / environments / production.rb
index fb0c53b974c469441efd3688411a40119d189fea..5c72d449c9482b0ced37d6af054f9e6aab125f16 100644 (file)
@@ -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.