title: How can I input and output multiple files with gulp and browserify
body: <p>I'm sure there's a way to do this, but I couldn't find it. What I want is to pass multiple files into browserify and output multiple files - this is useful for a case where a site has multiple SPA's, with each having its own requires.</p>
  
  <p>Say I have <code>app1.js</code>, <code>app2.js</code>, etc, with each loading in different pages and having independent <code>require('..')</code> statements. I'm looking for a task that does something like this:</p>
  
  <pre><code>gulp.task('browserify', function() {
    return
    gulp.src('src/**/*.js')
    .pipe(browserify) // 
    .pipe(gulp.dest('dist'));
  });
  </code></pre>
  
  <p>Any idea what's a simple way to accomplish this? thanks.</p>