0.1.0 • Published 9 years ago

global-lookup-shim v0.1.0

Weekly downloads
4
License
-
Repository
-
Last release
9 years ago

Browserify Global Lookup Shim

Why?

Sometimes when you are distributing a standalone lib you want to exclude files from the library. Instead you want them to be looked up on the window. That is where browserify-global-lookup comes in handy.

How to use

browserify src/index.js \
  --standalone Module \
  --external backbone \
  --external underscore \
  | global-lookup-shim.js \
  --global-shim underscore:_ \
  --global-shim backbone:Backbone \
  > dist/build.js