From e35eccca93fa58eb4520f1e35be212fb49a0e4e4 Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Thu, 9 Jan 2014 11:18:54 +1100 Subject: [PATCH] Revert 3b3815a 6c5539a 39c2803 - remove non-mangling js compression which breaks build --- config/environments/production.rb | 3 --- config/environments/staging.rb | 3 --- 2 files changed, 6 deletions(-) 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