From e3741f5708ed1db7c987f6072966bb308e0d6dd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Fri, 21 Dec 2012 16:13:10 +0100 Subject: [PATCH] Do not drop unreferenced functions and variables when minifying. It seems to take ages, and parameter list is meaningful in Boostrap.js even when parameters are not used. --- build/preprocess.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/preprocess.sh b/build/preprocess.sh index 47273c5f..61924896 100755 --- a/build/preprocess.sh +++ b/build/preprocess.sh @@ -42,7 +42,7 @@ case $1 in ;; compressed) eval $COMMAND > temp.js - uglifyjs temp.js -c -m -r '_$_,$_' > $5 + uglifyjs temp.js -c unused=false -m -r "_$_,$_" -b ascii_only=true,beautify=false > $5 rm temp.js ;; esac