From 2f35bd492629a52f4849c379f02030c1efb2495c Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 24 Nov 2016 23:17:02 -0500 Subject: Use uglifyjs instead of closure-compiler. It's faster. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 925329ed..57efeab9 100644 --- a/Makefile +++ b/Makefile @@ -131,7 +131,7 @@ visualize/static/d3-$(d3-ver).js: %: $(www)/https/raw.github.com/mbostock/d3/v$( # The minimization processes -JSMIN = { sed -n '1,/\*\//p' $1; closure-compiler --js $1; } > $2 +JSMIN = { sed -n '1,/\*\//p' $1; uglifyjs --mangle --compress < $1; } > $2 %.min.js: %.js $(call JSMIN,$<,$@) -- cgit v1.2.3-54-g00ecf