diff --git a/gulpfile.js b/gulpfile.js index 0c63875685b8dc5cbb7d5a864145de99b811eab9..b9f509f864c089a9662d669470521b8896ce1dbd 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