Skip to content

Instantly share code, notes, and snippets.

@rozap
Created February 4, 2014 06:01
Show Gist options
  • Save rozap/8798837 to your computer and use it in GitHub Desktop.
Save rozap/8798837 to your computer and use it in GitHub Desktop.
var gulp = require('gulp');
var browserify = require('gulp-browserify');
// Basic usage
gulp.task('scripts', function() {
// Single entry point to browserify
gulp.src('lib/public/js/src/app.js')
.pipe(browserify({
insertGlobals: false,
debug: true
}))
.pipe(gulp.dest('lib/public/js'))
});
gulp.task('default', ['scripts']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment