Menu

gitpiper

Browserify Cheat Sheet in December 2024

Last Updated: 18 December 2024

README.md

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


338+ more cheat sheets for you in December 2024

Subscribe to our Newsletter

Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️

© 2024 GitPiper. All rights reserved

Rackpiper Technology Inc

Company

About UsBlogContact

Subscribe to our Newsletter

Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️