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:
parent
a6bb9d02a3
commit
f3b6fd520c
3
build
3
build
@ -1,3 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/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
|
cleancss src/perfect-scrollbar.css -o min/perfect-scrollbar.min.css
|
||||||
|
Loading…
Reference in New Issue
Block a user