Small script for development + builds with browserify.
Uses loose-envify
for faster inlining and cross-env
to handle windows/unix shells.
Dev features:
- fast rebuilds w/ watchify, LiveReload, syntax errors in DOM, etc.
Build features:
- uglify, simple dead code elimination, optimized bundle.