删除文件

 1 var gulp = require('gulp');
 2 var del = require('del')
 3 
 4 gulp.task('clean:fc', function(cb) {
 5   del(['new','del'], cb);
 6   console.log('bingoJS')
 7 });
 8 
 9 
10 gulp.task('default', ['clean:fc']);

 

posted @ 2016-10-10 09:59  菜蛋  阅读(119)  评论(0编辑  收藏  举报