Open ornj opened 9 years ago
does the bundle
directory exist?
Yes it does. I just attempted this again with a clean directory by doing the following:
npm install browserify browser-unpack factor-bundle
mkdir bundle
cp node_modules/factor-bundle/example/files/* .
browserify x.js y.js > bundle.js
browser-unpack < bundle.js | factor-bundle x.js -o bundle/x.js y.js -o bundle/y.js > bundle/common.js
ls bundle
common.js
bundle/common.js
is created. Neitherbundle/x.js
orbundle/y.js
are created. It is my understanding that these bundles should be created with the modules that exist in the common bundle being omitted.