mirror of https://github.com/codefeathers/isEq
1 changed files with 4 additions and 4 deletions
@ -1,11 +1,11 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
|
|
||||
echo "Babelifying..." |
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..." |
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..." |
echo "Minifying output..." |
||||
npx uglifyjs ./umd/isEq.js > ./umd/isEq.min.js |
npx uglifyjs ./umd/isEq.js > ./umd/isEq.min.js |
||||
echo "Cleaning up..." |
echo "Cleaning up..." |
||||
rm ./umd/isEq2.js |
rm ./umd/isEq.temp.js |
||||
echo "Done!" |
echo "Done!" |
Loading…
Reference in new issue