summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-11-24 23:17:02 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-11-24 23:17:02 -0500
commit2f35bd492629a52f4849c379f02030c1efb2495c (patch)
tree9b5ec45d93e3d1d8d97c218f79869a3d25d0bb83
parent344b4afd01f07b71ef7b0e7e1b05692acd8a531d (diff)
Use uglifyjs instead of closure-compiler. It's faster.HEADmaster
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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,$<,$@)