You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems without adding --full-paths to browserify, the indexes are numeric and thus there's no way (save for providing an rmap, possibly) or matching the input files to the modules.
I have submitted a pull request to fix the documentation (#56)
I don't see anything like that being created. It's not in the bundle.js after I do this:
cd test/deps
browserify x.js y.js > bundle.js
If I do browser-unpack < bundle.js there is no mention of x.js or y.js...they've become 2 and 3.
Interestingly enough, when I call it as a plugin of browserify: browserify x.js y.js -p [ ../../ -o bundle/x.js -o bundle/y.js ] -o bundle/common.js it does work correctly.
This is great, but it doesn't fit my workflow (I don't know all the js ahead of time, and I'm calling browserify with a glob.
Activity
blocka commentedon Feb 1, 2015
It seems without adding
--full-pathsto browserify, the indexes are numeric and thus there's no way (save for providing anrmap, possibly) or matching the input files to the modules.I have submitted a pull request to fix the documentation (#56)
terinjokes commentedon Feb 1, 2015
factor-bundleis supposed to work with indexes, as it creates a mapping as the files pass through, passing--full-pathsshouldn't be needed.I'll look when I get a chance.
blocka commentedon Feb 1, 2015
I don't see anything like that being created. It's not in the bundle.js after I do this:
If I do
browser-unpack < bundle.jsthere is no mention ofx.jsory.js...they've become 2 and 3.Interestingly enough, when I call it as a plugin of browserify:
browserify x.js y.js -p [ ../../ -o bundle/x.js -o bundle/y.js ] -o bundle/common.jsit does work correctly.This is great, but it doesn't fit my workflow (I don't know all the js ahead of time, and I'm calling browserify with a glob.