deepak1556 / gulp-browserify

Bundle modules with BrowserifyJS
MIT License
195 stars 45 forks source link

babelify@7.2.0 doesn't work in gulp-browserify #87

Open zhuowenli opened 8 years ago

zhuowenli commented 8 years ago

babelify@7.2.0 doesn't work for me, but babelify@6.4.0 is ok.

var browserify = require('gulp-browserify');

gulp.task('build', function() {
    return gulp.src('src/*.js')
        .pipe(browserify({
            transform: ["babelify"]
        }))
        .pipe(gulp.dest('build/'))
});