DOKK / manpages / debian 11 / node-browserify-lite / browserify-lite.1.en
browserify-lite(1) General Commands Manual browserify-lite(1)

browserify-lite - bundle javascript file

browserify-lite ./entry-file.js --outfile bundle.js

Browserify-lite is a tool that allows developers to write Node.js-style modules that compile for use in the browser.

This tool is a lite version a browserify:

  • No builtin Node.js shims.
  • Naive AST tokenization for require instead of true AST parsing. All require statements are found regardless of if they are in an `if` statement or a function body that is never called.
  • Only supports a single entry file and the --outfile parameter, nothing else.
  • No source maps.
  • Minimal dependencies.

Write the browserify bundle to this file
Export as window.xyz
Help screen

browserify(1)

January 2019