Move tasks to separate files and simplify
This commit is contained in:
parent
dde26ec45e
commit
06ba111392
12 changed files with 1560 additions and 1030 deletions
9
gulp/tasks/clean.js
Normal file
9
gulp/tasks/clean.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
const config = require('../config');
|
||||
const del = require('del');
|
||||
|
||||
// Clean output folders
|
||||
function clean() {
|
||||
return del([config.dev + '**', config.rep + '**', config.dpl + '**']);
|
||||
}
|
||||
|
||||
module.exports = clean;
|
||||
Loading…
Add table
Add a link
Reference in a new issue