node package manager

gulp-coffee2closure

gulp-coffee2closure

Build Status Dependency Status devDependency Status

gulp plugin fixing CoffeeScript compiled output for Google Closure Compiler

Install

npm install --save-dev gulp-coffee2closure

Example

var gulp = require('gulp');
var coffee = require('gulp-coffee');
var coffee2closure = require('gulp-coffee2closure');
 
gulp.task('coffee', function() {
  gulp.src('./src/*.coffee')
    .pipe(coffee({bare: true}).on('error', gutil.log))
    .pipe(coffee2closure())
    .pipe(gulp.dest('build'))
});

API

None! It's just a one command without params.

License

MIT © Daniel Steigerwald