Pass Gulp sources to gulp-coffee, gulp-concat, and webpack-stream
问题 I have the code: var gulp = require('gulp'); var webpack = require('webpack-stream'); var coffee = require('gulp-coffee'); var concat = require('gulp-concat'); gulp.task('webpack', function() { gulp.src('*/lib/*.coffee', { base: '.' }) .pipe(coffee({ bare: true })) .pipe(concat('app.js')) .pipe(webpack()) .pipe(gulp.dest('.')); }); However, it doesn't work, when it reaches webpack() . How can I make it so that the content passed from concat() to webpack() works successfully? I also assume