Chrome Extension

Delete files and folders Gulp

//USING PACKAGE - del 
//INSTALLATION - npm install del
var gulp = require("gulp");
var del = require("del");

gulp.task("delete_task", function() {
    return del(['app/build/**'], {force: true});
});
We are a bunch of lazy programmers so we developed this chrome extension
search code from your favorite search engine
Install Now

The code will delete all files and folders exists inside build folder. We are using del npm package to delete the files and folders.

NPM package installation

npm install del
Was this helpful?
0 Comments
Open Code Manager We are hiring