Clean before the build

This commit is contained in:
ilyaigpetrov 2020-10-16 17:19:56 +00:00
parent 0ffefd7cfc
commit 97ba2697da

View File

@ -46,7 +46,7 @@ const templatePlugin = (context) => through.obj(function(file, encoding, cb) {
const clean = function(cb) { const clean = function(cb) {
//return del.sync('./build'); del.sync('./build');
return cb(); return cb();
}; };
@ -97,7 +97,7 @@ const copyBeta = function(cb) {
}; };
const buildAll = gulp.parallel(copyMini, copyFull, copyBeta); const buildAll = gulp.series(clean, gulp.parallel(copyMini, copyFull, copyBeta));
const buildBeta = copyBeta; const buildBeta = copyBeta;
module.exports = { module.exports = {