7 -t
[ envify
--NODE_ENV production
] \
13 # Create dist/dygraph.js.map
14 cat dist
/dygraph.js | exorcist
--base . dist
/dygraph.js.map
> /dev
/null
16 # Create dist/dygraph.js.min{,.map}
17 uglifyjs
--compress --mangle \
18 --in-source-map dist
/dygraph.js.map \
19 --source-map-include-sources \
20 --source-map dist
/dygraph.min.js.map \
21 -o dist
/dygraph.min.js \
24 # Copy to the old location
25 cp dist
/dygraph.min.js dist
/dygraph-combined.js