1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-09-25 05:14:41 +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

@@ -116,11 +116,12 @@ function gulptasksImageResources($, gulp, buildFolder) {
});
// Copies all resources and optimizes them
gulp.task("imgres.allOptimized", cb =>
$.multiProcess(
["imgres.atlasOptimized", "imgres.copyNonImageResources", "imgres.copyImageResourcesOptimized"],
cb,
false
gulp.task(
"imgres.allOptimized",
gulp.parallel(
"imgres.atlasOptimized",
"imgres.copyNonImageResources",
"imgres.copyImageResourcesOptimized"
)
);