vendorify

0.2.0 • Public • Published

NOT TESTED (almost)

Vendorify

Browserify plugin to bundle node_modules dependencies into separate file.

Example

Running vendorify with standard browserify --outfile mybundle.js option will produce two files mybundle.js and mybundle.vendor.js.

vendorify --outfile mybundle.js src/index.js

You can specify custom file name through --vendor-outfile option

vendorify --outfile mybundle.js --vendor-outfile common.js src/index.js

By default source maps are not generated, even with --debug option. But it's possible to force them using --debug-vendor option.

It's compatible with watchify

watchify --outfile mybundle.js -p [vendorify -o common.js] src/index.js

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    3
  • 0.1.1
    1
  • 0.0.0
    2

Package Sidebar

Install

npm i vendorify

Weekly Downloads

4

Version

0.2.0

License

MIT

Last publish

Collaborators

  • rainydio