browserify-lite1
Bundle javascript file
Usage
browserify-lite ./entry-file.js
--outfile
bundle.js
Overview
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
--outfileparameter, nothing else.
- •
-
No source maps.
- •
-
Minimal dependencies.
Options
-
--outfile -
Write the browserify bundle to this file
-
--standalone xyz -
Export as window.xyz
-
--help -
Help screen
Releases
6 releases since Debian 8 (Jessie); the text changed 2 times.
--help since Debian 10 (Buster);
--standalone since Debian 9 (Stretch).