Browse Source

Merge branch 'master' of github.com:codefeathers/isEq

master
Muthu Kumar 7 years ago
parent
commit
15ce2e78f2
  1. 8
      build.sh

8
build.sh

@ -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…
Cancel
Save