Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 1.02 KB

browserify.md

File metadata and controls

55 lines (41 loc) · 1.02 KB
title category tags archived
Browserify
JavaScript libraries
Archived
Browserify has not been in active development.

About

{: .-intro}

Browserify is a bundler for JavaScript.

Usage

browserify input.js
  -o output.js
  -t coffeeify
  -t [ coffeeify --extension coffee ]

  -u react (--exclude: omit a file)
  -x react (--external: reference in another bundle)
  -i react (--ignore: stub a file)
  -s Myapp (--standalone: generate a UMD bundle)
  --debug

Programmatic usage

browserify = require('browserify')
browserify()
  .add('main.js')
  .bundle()
  .transform(coffeeify)
  .transform({extensions: '.coffee'}, coffeeify)
  .pipe(process.stdout)

browserify({})

Tools

  • watchify (recompiles on demand)
  • beefy (http server)
  • debowerify
  • es6ify (es6 to es5)

Transforms