Skip to content

Instantly share code, notes, and snippets.

@wshaddix

wshaddix/clean.js

Created Nov 25, 2015
Embed
What would you like to do?
var gulp = require('gulp');
var paths = require('../paths');
var del = require('del');
var vinylPaths = require('vinyl-paths');
// deletes all files in the output path
gulp.task('clean', function() {
return gulp.src([paths.output, paths.wwwroot])
.pipe(vinylPaths(del));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.