The build command will also run the clean, styles, scripts commands

This commit is contained in:
Alex Tselegidis 2020-12-08 00:20:29 +02:00
parent bff87eb4aa
commit 9e116623dc

View file

@ -25,7 +25,7 @@ gulp.src = function () {
}));
};
gulp.task('build', (done) => {
gulp.task('package', (done) => {
const archive = 'easyappointments-0.0.0.zip';
fs.removeSync('build');
@ -154,4 +154,6 @@ gulp.task('watch', (done) => {
gulp.task('dev', gulp.series('clean', 'scripts', 'styles', 'watch'));
gulp.task('build', gulp.series('clean', 'scripts', 'styles', 'package'));
gulp.task('default', gulp.parallel('dev'));