From 77e2c332f14075f87803edae9707e8a6ab05871c Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson <frjo@xdeb.org> Date: Mon, 22 Oct 2018 21:32:22 +0200 Subject: [PATCH] Added collectstatic step to build task. --- gulpfile.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 0c6387568..b9f509f86 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -211,15 +211,10 @@ gulp.task('watch:static', function watch () { gulp.task('watch', gulp.parallel('watch:css', 'watch:lint:sass', 'watch:js', 'watch:lint:js', 'watch:images', 'watch:fonts', 'watch:static')); // Build everything. -gulp.task('build', gulp.parallel('styles:production', 'scripts:production', 'images', 'fonts', 'lint')); +gulp.task('build', gulp.series(gulp.parallel('styles:production', 'scripts:production', 'images', 'fonts', 'lint'), 'collectstatic')); // Deploy everything. gulp.task('deploy', gulp.parallel('styles:production', 'scripts:production', 'images', 'fonts')); // The default task. gulp.task('default', gulp.series('build')); - - -// Resources used to create this gulpfile.js: -// - https://github.com/google/web-starter-kit/blob/master/gulpfile.babel.js -// - https://github.com/dlmanning/gulp-sass/blob/master/README.md -- GitLab