how to output multiple bundles with browserify and gulp
I don’t have a good environment to test this in right now, but my guess is that it would look something like: gulp.task(“js”, function(){ var destDir = “./dist”; return browserify([ “./js/app.js”, “./js/public.js” ]) .bundle() .pipe(source(“appBundle.js”)) .pipe(gulp.dest(destDir)) .pipe(rename(“publicBundle.js”)) .pipe(gulp.dest(destDir)); }); EDIT: I just realized I mis-read the question, there should be two separate bundles coming from … Read more