mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-04 03:45:58 -05:00
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:
parent
f95cbcd9b9
commit
e3741f5708
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue