From bc01589ea524ec9c39794df777dfc35a23866e46 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 15 Oct 2014 16:28:06 -0400 Subject: [PATCH] Add `screw_ie8` setting --- 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 acd296ae2..07133147f 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -13,7 +13,7 @@ Discourse::Application.configure do config.serve_static_assets = GlobalSetting.serve_static_assets if defined?(Uglifier) - config.assets.js_compressor = Uglifier.new(output: {max_line_len: 1024}) + config.assets.js_compressor = Uglifier.new(output: {max_line_len: 1024}, screw_ie8: false) else config.assets.js_compressor = :uglifier end