1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-22 22:41:12 +02:00

fix gulp tasks

This commit is contained in:
Kushagra Gour
2024-05-04 11:54:45 +05:30
parent f6e7916db9
commit 13b501a228

View File

@@ -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) {