mirror of https://github.com/codefeathers/isEq
Muthu Kumar
7 years ago
1 changed files with 4 additions and 4 deletions
@ -1,11 +1,11 @@ |
|||
#!/bin/bash |
|||
|
|||
echo "Babelifying..." |
|||
npx babel ./isEq.js --presets=env -o ./umd/isEq2.js |
|||
npx babel ./isEq.js --presets=env -o ./umd/isEq.temp.js |
|||
echo "Browserifying..." |
|||
npx browserify ./umd/isEq2.js -s isEq > ./umd/isEq.js |
|||
npx browserify ./umd/isEq.temp.js -s isEq > ./umd/isEq.js |
|||
echo "Minifying output..." |
|||
npx uglifyjs ./umd/isEq.js > ./umd/isEq.min.js |
|||
echo "Cleaning up..." |
|||
rm ./umd/isEq2.js |
|||
rm ./umd/isEq.temp.js |
|||
echo "Done!" |
Loading…
Reference in new issue