Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
browserify, babel, gulp, glob, vinyl-source-stream, uglify
npm install gulp gulp-load-plugins gulp-uglify
npm install browserify babelify glob vinyl-source-stream vinyl-buffer
More examples:
var gulp = require('gulp')
var $ = require('gulp-load-plugins')()
var browserify = require('browserify')
var babelify = require('babelify')
var glob = require('glob')
var source = require('vinyl-source-stream')
var buff = require('vinyl-buffer')
gulp.task('browserify', function () {
var files = glob.sync('./app/scripts/**/*.js');
return browserify({
entries: files,
debug: true
/* Do not use vinyl-transform */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.