📜  gulp 删除文件 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:08.950000             🧑  作者: Mango

代码示例1
//GULP - DELETE FILES
var gulp = require('gulp');
var del = require('del');

gulp.task('some-task', function() {
    del(['path/file.txt', 'path/img.jpg']);
});

//You may need...
npm install --save-dev gulp del