nbextify
v2.0.0
Published
Post-processor plugin for Browserify bundles built with --no-bundle-external
Downloads
5
Maintainers
Readme
nbextify
Post-processor plugin for Browserify bundles built with --no-bundle-external
Summary
When running Browserify with --no-bundle-external
, the output still contains both internal and external require calls, making it impossible to run the bundle through Browserify again.
This post-processor plugin will mangle all internal require calls, leaving all external ones, making the bundle ready to be required and browserified as any other module.
Installation
$ npm install --save-dev nbextify
Usage
Add nbextify as a plugin in your Browserify command.
$ browserify source.js --no-bundle-external -p nbextify -o dist.js
Changelog
- v1.0.0 (2015-05-25)
- First public release
- v1.0.1 (2015-05-25)
- Fixed broken badges in README
- v2.0.0 (2015-05-25)
- Rewritten as a proper Browserify plugin
License
MIT © 2015 Adam Renklint