1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-09-24 04:44:59 +00:00

Use gulp.parallel instead of gulp-multi-process

This commit is contained in:
Ivan Demchuk
2020-06-13 21:44:00 +03:00
parent 8186da9d4c
commit fc571e2c3e
6 changed files with 17 additions and 75 deletions

View File

@@ -68,7 +68,7 @@ function gulptasksJS($, gulp, buildFolder, browserSync) {
)
.pipe(gulp.dest(buildFolder));
});
gulp.task("js.staging", cb => $.multiProcess(["js.staging.transpiled", "js.staging.latest"], cb, false));
gulp.task("js.staging", gulp.parallel("js.staging.transpiled", "js.staging.latest"));
//// PROD
gulp.task("js.prod.transpiled", () => {
@@ -104,7 +104,7 @@ function gulptasksJS($, gulp, buildFolder, browserSync) {
.pipe(browserSync.stream());
});
gulp.task("js.prod", cb => $.multiProcess(["js.prod.transpiled", "js.prod.latest"], cb, false));
gulp.task("js.prod", gulp.parallel("js.prod.transpiled", "js.prod.latest"));
//// STANDALONE