From 13b501a228889be80f103faae1e965e13fa032c0 Mon Sep 17 00:00:00 2001 From: Kushagra Gour Date: Sat, 4 May 2024 11:54:45 +0530 Subject: [PATCH] fix gulp tasks --- gulpfile.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 2470c64..54fb083 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -226,7 +226,7 @@ gulp.task('buildDistFolder', function (cb) { }); gulp.task('cleanup', function () { - return child_process.exec('rm -rf build'); + return child_process.exec('rm -rf build dist create'); }); gulp.task('start-preview-server', function () { @@ -237,6 +237,7 @@ gulp.task('start-preview-server', function () { }); }); +// TODO: fix tasks. eg. buildWebsite isn't needed anymore exports.release = series( parallel('runWebpack', 'buildWebsite'), 'copyFiles', @@ -284,7 +285,8 @@ const buildExtension = series( 'copyFiles', 'fixIndex', 'useRef', - 'packageExtension' + 'packageExtension', + 'cleanup' ); function runWatcher(cb) {