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.
This commit is contained in:
Jürg Lehni 2012-12-21 16:13:10 +01:00
parent f95cbcd9b9
commit e3741f5708

View file

@ -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