删除文件

 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']);
原文地址:https://www.cnblogs.com/iloveyou-sky/p/5944716.html