X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=make-prod-combined.sh;fp=make-prod-combined.sh;h=a95c612b4ef0fe502960f4f4954d05f9331a4560;hb=7fea22bef3dd932a4d3d706d102565ee28b26f91;hp=0000000000000000000000000000000000000000;hpb=a14d974418eb6f0b06f7fc4aed50b8bb9d4cea0a;p=dygraphs.git diff --git a/make-prod-combined.sh b/make-prod-combined.sh new file mode 100755 index 0000000..a95c612 --- /dev/null +++ b/make-prod-combined.sh @@ -0,0 +1,10 @@ +#!/bin/bash +browserify \ + -v \ + -t babelify \ + -t [ envify --NODE_ENV production ] \ + --debug \ + --standalone Dygraph \ + src/dygraph.js \ + | uglifyjs -c -m \ + > dist/dygraph.js