Wrap in a function, be consistent
This commit is contained in:
parent
41e170d0bc
commit
9ce0eaf00f
|
@ -1,6 +1,8 @@
|
||||||
var del = require('del');
|
var del = require('del');
|
||||||
|
|
||||||
module.exports = function (gulp, plugins, config) {
|
module.exports = function (gulp, plugins, config) {
|
||||||
|
return function () {
|
||||||
del.sync('source/assets/{css,fonts,js}');
|
del.sync('source/assets/{css,fonts,js}');
|
||||||
del.sync('output_*/assets/{css,fonts,js}');
|
del.sync('output_*/assets/{css,fonts,js}');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Reference in a new issue