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

Created on 5 Jun 2016  路  3Comments  路  Source: webpack/webpack

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(...)
question

Most helpful comment

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.

All 3 comments

@jaesung2061 We would love some input and feedback on better documentation. I'm not sure if we _need_ more ways to "skin the cat", however but giving your perspective and incorporating it into documentation could be very beneficial.

Also looks like this may already exist:

https://github.com/shama/webpack-stream

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andersekdahl picture andersekdahl  路  3Comments

adjavaherian picture adjavaherian  路  3Comments

IngwiePhoenix picture IngwiePhoenix  路  3Comments

d4goxn picture d4goxn  路  3Comments

abergs picture abergs  路  3Comments