From 7b52bf29c599db00eb6035334cbee58e379ed88d Mon Sep 17 00:00:00 2001 From: thomaswoehlke <thomas.woehlke@gmail.com> Date: Thu, 18 Feb 2021 11:25:46 +0100 Subject: [PATCH] ### 0.0.18 Release --- src/covid19/gulpfile.js | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/src/covid19/gulpfile.js b/src/covid19/gulpfile.js index b934a017..024abf73 100644 --- a/src/covid19/gulpfile.js +++ b/src/covid19/gulpfile.js @@ -30,24 +30,16 @@ function clean() { // Bring third party dependencies from node_modules into vendor directory function modules() { - var bootstrap = gulp.src('./node_modules/bootstrap/dist/**/*') - .pipe(gulp.dest('./static/vendor/bootstrap')); - var jquery = gulp.src([ - './node_modules/jquery/dist/*', - '!./node_modules/jquery/dist/core.js' - ]).pipe(gulp.dest('./static/vendor/jquery')); - var popper_js = gulp.src([ - './node_modules/popper.js/dist/**/*' - ]).pipe(gulp.dest('./static/vendor/popper.js')); - var popper_js = gulp.src([ - './node_modules/@fortawesome/fontawesome-free/**/*' - ]).pipe(gulp.dest('./static/vendor/fontawesome-free')); - var popper_js = gulp.src([ - './node_modules/bootswatch/dist/**/*' - ]).pipe(gulp.dest('./static/vendor/bootswatch')); - return merge( - bootstrap, jquery, popper_js - ); + var bootstrap = gulp.src('./node_modules/bootstrap/dist/**/*').pipe(gulp.dest('./static/vendor/bootstrap')); + var jquery = gulp.src(['./node_modules/jquery/dist/*','!./node_modules/jquery/dist/core.js']) + .pipe(gulp.dest('./static/vendor/jquery')); + var popper_js = gulp.src(['./node_modules/popper.js/dist/**/*']).pipe(gulp.dest('./static/vendor/popper.js')); + var fontawesome = gulp.src(['./node_modules/@fortawesome/fontawesome-free/**/*']) + .pipe(gulp.dest('./static/vendor/fontawesome-free')); + var bootswatch = gulp.src(['./node_modules/bootswatch/dist/**/*']).pipe(gulp.dest('./static/vendor/bootswatch')); + return merge( + bootstrap, jquery, popper_js, fontawesome, bootswatch + ); } // Watch files -- GitLab