fix gulpfile

This commit is contained in:
Yudong
2014-04-02 19:26:03 +08:00
parent b6393b2771
commit afefe03430

View File

@@ -12,7 +12,7 @@ gulp.task('less', function() {
});
gulp.task('coffee', function() {
return gulp.src(coffeePath + "/**/*.coffee").pipe(coffee()).on('error', function(error) {
return gulp.src(coffeePath + "/**/*.coffee").pipe(coffee({bare:true})).on('error', function(error) {
throw error;
}).pipe(uglify()).pipe(gulp.dest(coffeePath));
});