projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Set DEBUG using envify; options reference checks restored
[dygraphs.git]
/
make-prod-combined.sh
diff --git a/make-prod-combined.sh
b/make-prod-combined.sh
new file mode 100755
(executable)
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