diff --git a/config/environments/production.rb b/config/environments/production.rb index a780f486fb..e02b8f942d 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -45,9 +45,6 @@ Openfoodnetwork::Application.configure do # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) # config.assets.precompile += %w( search.js ) - require 'uglifier' - config.assets.js_compressor = Uglifier.new(mangle: false) - # Disable delivery errors, bad email addresses will be ignored # config.action_mailer.raise_delivery_errors = false diff --git a/config/environments/staging.rb b/config/environments/staging.rb index ee6fa16e8a..2d9321357d 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -45,9 +45,6 @@ Openfoodnetwork::Application.configure do # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) # config.assets.precompile += %w( search.js ) - require 'uglifier' - config.assets.js_compressor = Uglifier.new(mangle: false) - # Disable delivery errors, bad email addresses will be ignored # config.action_mailer.raise_delivery_errors = false