[Question] Have you guys thought an API similar to Gulp?

Perhaps maybe a Webpack wrapper? A large configuration object can seem cryptic until you really learn how all the properties affect the build process.

For example:

webpack
    .entry({
        'app': './app/index.js',
        'vendor: './app/vendor.js'
    })
    .load('typescript', /\.ts$/)
    .load('sass', /\.scss$/)
    .plugins([new webpack.optimize.plugin])
    .output('./dist');

Or:

module.exports = webpack.entry(...).load(...).output(...)

Author: Fantashit

1 thought on “[Question] Have you guys thought an API similar to Gulp?

  1. Not that you guys need it. Just curious. Also, webpack-stream is just a Gulp plugin. What I was asking was if you guys thought about an API similar to Gulp.

Comments are closed.