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.