Skip to content

browserify, minus some of the advanced features and heavy dependencies

License

Notifications You must be signed in to change notification settings

rebecca-palmer/browserify-lite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

browserify-lite

browserify, minus some of the advanced features and heavy dependencies.

  • 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.

Usage

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

Standard Options:

        --outfile         Write the browserify bundle to this file.
        --standalone xyz  Export as a window global.

./src/app.js can depend on any modules using Node.js's module resolution system and they will be bundled as well.

About

browserify, minus some of the advanced features and heavy dependencies

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%