Modify build script to uglifyjs2.

Upgrade to uglifyjs2 and add shell script to create
a min version source that includes jquery-mousewheel.
This commit is contained in:
Hyunje Alex Jun 2013-02-08 10:36:01 +09:00
parent a6bb9d02a3
commit f3b6fd520c

3
build
View File

@ -1,3 +1,4 @@
#!/bin/sh
uglifyjs src/perfect-scrollbar.js > min/perfect-scrollbar.min.js
uglifyjs src/perfect-scrollbar.js -o min/perfect-scrollbar.min.js
uglifyjs src/perfect-scrollbar.js src/jquery.mousewheel.js -o min/perfect-scrollbar.with-mousewheel.min.js
cleancss src/perfect-scrollbar.css -o min/perfect-scrollbar.min.css