gulp-simple-deleted

1.0.1 • Public • Published

gulp-simple-deleted

Removes files from the destination folder that don't exist in the source stream. Doesn't have any dependencies, and is pretty fast.

How does it know that a file has been removed?

If no file exists in the source stream with the same base name (filename without extension), then the file is removed from the destination.

E.g.: For the provided source and destination file, does gulp-simple-deleted consider them related?

Source file Destination file Related
app.coffee app.js Yep
app.coffee app.js.map Yep
app.pasta.c app.js Yep
toast.js app.js Nope
app/idx.pug app/idx.html Yep

Package Sidebar

Install

npm i gulp-simple-deleted

Weekly Downloads

5

Version

1.0.1

License

MIT

Last publish

Collaborators

  • mitchhentges