Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion minify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ do
if [ ! "$NP" = "true" ]; then
MAP_OP="--source-map ${filename}.min.$filetype.map"
fi
"$MYPATH/node_modules/uglify-js/bin/uglifyjs" --mangle --compress if_return=true $MAP_OP -o "${filename}.min.$filetype" "${filename}.$filetype"
"$MYPATH/node_modules/uglify-js/bin/uglifyjs" --mangle --comments="/^!/" --compress if_return=true $MAP_OP -o "${filename}.min.$filetype" "${filename}.$filetype"
fi
if [ ! $? -eq 0 ]; then
echo.Red "local compressor failed, now try to compress with javascript-/cssminifier.com"
Expand Down