Browserify plugin for Generate an extra chunk, which contains common modules shared between entry points.
Install
npm install common-chunk-ify --save
Useage
if you have some source files like this
//entry a.jsvar c = ;var a1 = ;moduleexports = "a";
//entry a1.jsmoduleexports = "a1";
//entry b.jsvar c = ;moduleexports = "b";
//c.jsmoduleexports = "c";
Node Scripts
"use strict";const browserify = ;const gulp = ; let b = b
Tests
npm install --save-devnpm test