From 2bd1f29a315006384738ecdc6f2514d1ad5092ed Mon Sep 17 00:00:00 2001 From: Chris Wegrzyn Date: Mon, 25 May 2020 16:49:47 -0400 Subject: [PATCH] Try this compressor --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index e939eace..2bbac14b 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -64,7 +64,7 @@ config.assets.precompile = [ Proc.new{ |path| !File.extname(path).in?(['.map','.js', '.css']) }, /(?:\/|\\|\A)application\.(css|js)$/ ] - config.assets.js_compressor = Sprockets::LazyCompressor.new { Uglifier.new(:mangle => false) } + config.assets.js_compressor = :uglifier #Sprockets::LazyCompressor.new { Uglifier.new(:mangle => false) } # Ignore bad email addresses and do not raise email delivery errors. # Set this to true and configure the email server for immediate delivery to raise delivery errors.