gulp-community / gulp-coffee

Coffeescript plugin for gulp
MIT License
226 stars 70 forks source link

Cofeescript2 support? #78

Closed objectkit closed 6 years ago

objectkit commented 7 years ago

Great to see the recent changes to includes... any plans for CoffeeScript 2 support here?

yocontra commented 7 years ago

Did the API change? Otherwise you should be able to update your coffee version and it will work fine

objectkit commented 7 years ago

It works fine... my bad! This works:

grinder          = require "gulp-coffee"

gulp.task "transpile", ->
    gulp.src("./src/main/coffee/**/*.coffee")
        .pipe(grinder(coffee: require("coffeescript")))
        .pipe(gulp.dest("./dist"))
yocontra commented 7 years ago

@objectkit I'll keep this open to update the dep here https://github.com/contra/gulp-coffee/blob/master/package.json#L13

I'll update it to 2.0 and bump this package to 2.0 as well

objectkit commented 7 years ago

@contra Great stuff 👍

yocontra commented 6 years ago

Published as 3.0