From 80d91779d76218101dd75c701043248303c606cb Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Fri, 30 Jun 2023 09:41:28 +0200 Subject: [PATCH] Build the assets with a new "compile" task that will prepare everything without generating a zip build --- docker/php-fpm/start-container | 2 +- gulpfile.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/php-fpm/start-container b/docker/php-fpm/start-container index 22799e3b..c6803fa5 100644 --- a/docker/php-fpm/start-container +++ b/docker/php-fpm/start-container @@ -7,7 +7,7 @@ echo "➜ Install NPM Dependencies" npm install echo "➜ Build Project Assets" -npx gulp build +npx gulp compile echo "➜ Listen To Incoming Requests" php-fpm diff --git a/gulpfile.js b/gulpfile.js index 92830809..7fd12aec 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -194,6 +194,7 @@ exports.clean = gulp.series(clean); exports.vendor = gulp.series(vendor); exports.scripts = gulp.series(scripts); exports.styles = gulp.series(styles); +exports.compile = gulp.series(clean, vendor, scripts, styles); exports.dev = gulp.series(clean, vendor, scripts, styles, watch); exports.build = gulp.series(clean, vendor, scripts, styles, archive); exports.default = exports.dev;