Added popper JS to dependencies again as it is also required by tippy.js

This commit is contained in:
Alex Tselegidis 2021-11-08 10:45:06 +01:00
parent f41547b77d
commit 69abc34f6d
2 changed files with 7 additions and 3 deletions

View file

@ -117,11 +117,11 @@ function vendor(done) {
'node_modules/bootstrap/dist/css/bootstrap.min.css' 'node_modules/bootstrap/dist/css/bootstrap.min.css'
]).pipe(gulp.dest('assets/vendor/bootstrap')); ]).pipe(gulp.dest('assets/vendor/bootstrap'));
// fontawesome-free // @fortawesome-fontawesome-free
gulp.src([ gulp.src([
'node_modules/@fortawesome/fontawesome-free/js/fontawesome.min.js', 'node_modules/@fortawesome/fontawesome-free/js/fontawesome.min.js',
'node_modules/@fortawesome/fontawesome-free/js/solid.min.js' 'node_modules/@fortawesome/fontawesome-free/js/solid.min.js'
]).pipe(gulp.dest('assets/vendor/fontawesome-free')); ]).pipe(gulp.dest('assets/vendor/@fortawesome-fontawesome-free'));
// cookieconsent // cookieconsent
gulp.src([ gulp.src([
@ -168,10 +168,13 @@ function vendor(done) {
gulp.src(['node_modules/moment/min/moment.min.js']).pipe(gulp.dest('assets/vendor/moment')); gulp.src(['node_modules/moment/min/moment.min.js']).pipe(gulp.dest('assets/vendor/moment'));
// moment-timezone // moment-timezone
gulp.src(['node_modules/moment-timezone/builds/moment-timezone.min.js']).pipe( gulp.src(['node_modules/moment-timezone/builds/moment-timezone-with-data.min.js']).pipe(
gulp.dest('assets/vendor/moment-timezone') gulp.dest('assets/vendor/moment-timezone')
); );
// @popperjs-core
gulp.src(['node_modules/@popperjs/core/dist/umd/popper.min.js']).pipe(gulp.dest('assets/vendor/@popperjs-core'));
// select2 // select2
gulp.src(['node_modules/select2/dist/js/select2.min.js']).pipe(gulp.dest('assets/vendor/select2')); gulp.src(['node_modules/select2/dist/js/select2.min.js']).pipe(gulp.dest('assets/vendor/select2'));

View file

@ -25,6 +25,7 @@
}, },
"dependencies": { "dependencies": {
"@fortawesome/fontawesome-free": "^5.15.4", "@fortawesome/fontawesome-free": "^5.15.4",
"@popperjs/core": "^2.10.2",
"bootstrap": "^4.5.3", "bootstrap": "^4.5.3",
"cookieconsent": "^3.1.1", "cookieconsent": "^3.1.1",
"datejs": "0.0.2", "datejs": "0.0.2",