Created
August 26, 2015 22:48
-
-
Save kevinsimper/1390813e66e301474e38 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp.src([‘./app/*.js’]) | |
.pipe(through2.obj(function(file, enc, callback) { | |
var self = this | |
var b = browserify() | |
b.add(file.path) | |
b.transform(reactify) | |
b.bundle(function(err, src) { | |
if(err) console.log(err) | |
// here we need to push the file down the stream | |
}) | |
})) | |
.pipe(gulp.dest(‘./public/build/’)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment