How do you pass two arguments to webpack?
<p>I'm piping to webpack and need to pass a configuration file and <code>devtool</code> parameter.  I tried a few variations of dual param passing none worked.</p>

<pre><code>//This works
gulp.task('js', function() {
  gulp.src(config.paths.mainJs)
    .pipe(webpack(require('./webpack.config.dev.js')
            //how do we sourcemap this?
            //devtool: "source-map"
         ))

//This fails
gulp.task('js', function() {
  gulp.src(config.paths.mainJs)
    .pipe(webpack({ 
             configuration: require('./webpack.config.dev.js'),
             devtool: "source-map"
         }))
</code></pre>

<p>I found the <a href="https://webpack.github.io/docs/configuration.html#devserver" rel="nofollow">documentation</a> for configuration.  It did not provide any examples of this.</p>