nbextify

2.0.0 • Public • Published

nbextify

Post-processor plugin for Browserify bundles built with --no-bundle-external

npm version npm monthly downloads npm dependencies GitHub stars GitHub forks

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

Package Sidebar

Install

npm i nbextify

Weekly Downloads

3

Version

2.0.0

License

MIT

Last publish

Collaborators

  • adamrenklint