/builder-boy

👲🏽 Build and watch es modules FAST 👲🏽

Primary LanguageJavaScript

builder-boy

Build and watch es modules FAST

Build Status js-standard-style npm version Coverage Status

  • 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

boy