New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

vendorify

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vendorify

Bundle node_modules dependencies into separate file

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
8
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

browserify

FAQs

Package last updated on 06 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts