Let's try to change Uglifier settings properly

This commit is contained in:
Robin Ward
2014-10-15 16:51:16 -04:00
parent 60a0173e01
commit 65ab88da77
2 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ task 'assets:precompile:before' do
def evaluate(context, locals, &block)
::Sprockets.cache_compiled("uglifier", data) do
Uglifier.new(:comments => :none).compile(data)
Uglifier.new(:comments => :none, screw_ie8 => false, :output => {max_line_len: 1024}).compile(data)
end
end