Closed xiaoDC closed 9 years ago
If your code is actually
gulp.task('coffee_build', function() {
return gulp.src('build/coffee/*.coffee')
.pipe(coffee({
bare: true
}))
.pipe(gulp.dest('build/js'));
});
then the files will be output to build/js/whatever.coffee
thank you. I find the reason. It is the requirejs what does uglify the compiled js file !
coffee: gulp.task 'coffee_build', -> gulp .src 'build/coffee/*.coffee' .pipe coffee bare: true .pipe gulp.dest "build/js/"
native: gulp.task('coffee_build', function() { return gulp.src('build/coffee/*.coffee').pipe(coffee({ bare: true })).pipe(gulp.dest("build/js/")); });