builder-boy
v0.3.28
Published
Build and watch es modules FAST
Downloads
556
Readme
builder-boy
Build and watch es modules FAST
- imports / exports
- inline browser builds
- es5 + generators + fetch and async / await
- branches based on user agents
- virtual modules
usage
basic
builder-boy fileyouwantbuild.js destination.js
raw
No transpilation or pollyfills
builder-boy fileyouwantbuild.js destination.js -r
watch
Watch for changes
builder-boy fileyouwantbuild.js destination.js -w
env
Replaces env variables for inline browser builds, by default inherits from process.env
builder-boy fileyouwantbuild.js destanation.js -e envvar=true -e anotherone
target
Choose specific targets, defaults to inline, browser, node
builder-boy fileyouwantbuild.js destination.js -t node
builder-boy fileyouwantbuild.js destination.js -t node -t browser -t inline