Skip to content

Commit

Permalink
replace packnode by uglify-js
Browse files Browse the repository at this point in the history
  • Loading branch information
kerphi committed Dec 28, 2012
1 parent c193837 commit 3e8faf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -41,7 +41,7 @@ setup-minify:

# compress javascript and css
minify: $(path)/client/jquery.phpfreechat.js $(path)/client/jquery.phpfreechat.*.js $(path)/client/themes/*/jquery.phpfreechat.less $(path)/client/themes/*/jquery.phpfreechat.*.less
$(shell cat $(path)/client/jquery.phpfreechat.js $(path)/client/jquery.phpfreechat.*.js | packnode > $(path)/client/jquery.phpfreechat.min.js)
$(shell cat $(path)/client/jquery.phpfreechat.js $(path)/client/jquery.phpfreechat.*.js | uglifyjs -c 2> /dev/null > $(path)/client/jquery.phpfreechat.min.js)
$(shell for f in `ls client/themes/*/jquery.phpfreechat.less`; do lessc $$f `echo $$f | sed s/.less/.css/g`; done)
$(shell for f in `ls client/themes/*/jquery.phpfreechat.css`; do cleancss $$f > `echo $$f | sed s/.css/.min.css/g`; done)

Expand Down

0 comments on commit 3e8faf2

Please sign in to comment.