diff --git a/docker-assets/config/environments/production.rb b/docker-assets/config/environments/production.rb index 4814f3c..80b52bb 100644 --- a/docker-assets/config/environments/production.rb +++ b/docker-assets/config/environments/production.rb @@ -23,7 +23,7 @@ config.serve_static_files = false # Compress JavaScripts and CSS. - config.assets.js_compressor = :uglifier + config.assets.js_compressor = Uglifier.new(harmony: true) # config.assets.css_compressor = :sass # Do not fallback to assets pipeline if a precompiled asset is missed.