Skip to content

Instantly share code, notes, and snippets.

@wshaddix
Created November 25, 2015 01:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wshaddix/d1a17064fffb439ec70c to your computer and use it in GitHub Desktop.
Save wshaddix/d1a17064fffb439ec70c to your computer and use it in GitHub Desktop.
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