From 97ba2697da009a624d8036cd6fb4a4ea9aa1430d Mon Sep 17 00:00:00 2001 From: ilyaigpetrov Date: Fri, 16 Oct 2020 17:19:56 +0000 Subject: [PATCH] Clean before the build --- extensions/chromium/runet-censorship-bypass/gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/chromium/runet-censorship-bypass/gulpfile.js b/extensions/chromium/runet-censorship-bypass/gulpfile.js index 6f79370..55643a2 100644 --- a/extensions/chromium/runet-censorship-bypass/gulpfile.js +++ b/extensions/chromium/runet-censorship-bypass/gulpfile.js @@ -46,7 +46,7 @@ const templatePlugin = (context) => through.obj(function(file, encoding, cb) { const clean = function(cb) { - //return del.sync('./build'); + del.sync('./build'); 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; module.exports = {