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:
@@ -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"
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user