From b7fcc338119e4137455d311b81b3570e95adf25f Mon Sep 17 00:00:00 2001 From: thetalkingtree Date: Mon, 26 Aug 2024 15:40:35 +0200 Subject: [PATCH] Asdded async gulp task, so build in now not failing. (#164) --- src/WebApp/gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WebApp/gulpfile.js b/src/WebApp/gulpfile.js index d0f7fa06..0ba90359 100644 --- a/src/WebApp/gulpfile.js +++ b/src/WebApp/gulpfile.js @@ -20,14 +20,14 @@ var paths = { concatCssDest: webroot + "css/site.min.css" }; -gulp.task("min:js", function () { +gulp.task("min:js", async function () { return gulp.src([paths.js, "!" + paths.minJs], { base: "." }) .pipe(concat(paths.concatJsDest)) .pipe(uglify()) .pipe(gulp.dest(".")); }); -gulp.task("min:css", function () { +gulp.task("min:css", async function () { return gulp.src([paths.css, "!" + paths.minCss]) .pipe(concat(paths.concatCssDest)) .pipe(cssmin())