BundlesModule.js
function stitch(name, packs) {
  var content = ';(function(require){\n';
  packs.forEach(function(pack) {
    content += removeSourceMaps(pack.source);
    if (content[content.length-1] !== '\n') content += '\n';
  });
  content += '\nreturn require;}());\n';
  return content;
}
function stitch(name, packs) {
  var content = ';(function(require){\n';
  packs.forEach(function(pack) {
    content += removeSourceMaps(pack.source);
    if (content[content.length-1] !== '\n') content += '\n';
  });
  content += '\nreturn require;}());\n';
  return content;
}
function stitch ( name , packs ) { var content = ';(function(require){\n' ; packs . forEach ( function ( pack ) { content += removeSourceMaps ( pack . source ) ; if ( content [ content . length - 1 ] !== '\n' ) content += '\n' ; } ) ; content += '\nreturn require;}());\n' ; return content ; }
Turn the source from the "packs" into a single module to be run,
while preserving the source maps.

This assumes that the Browserify bundles included all expose
whatever they need to via a `require` function. The bundle sources
are wrapped in a function with it's own `require` variable so the
Browserify one doesn't leak out into the global scope.

TODO: Sourcemaps

@param {string} name
@param {packs} packs
@return {string}
Turn the source from the packs into a single module to be run while preserving the source maps .