metalsmith-del
Delete files and folders using globs.
Removes files and folders matching the passed globs, using Sindre Sorhus' multimatch. It also recognizes dot-files and -folders.
Install
$ npm install metalsmith-del
Usage
const metalsmith = const del = source'src/'
API
del(globs)
globs
Type: Array
of string
Array of glob to match files and directories against. Matching files and directories are being removed from the destination-folder.
License
MIT © Florian Breisch