0.1.0 • Published 9 years ago
global-lookup-shim v0.1.0
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
0.1.0
9 years ago