gulp Using Browserify Using Browserify with Coffeescript


Example

First install gulp and browserify via npm i gulp gulp-coffeeify. This will install browserify into your node_modules folder.

gulpfile.js

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

gulp.task('script', function() {
    gulp.src('./src/script.coffee')
        .pipe(coffeeify())
        .pipe(gulp.dest('./build/'));
}