From 46513b3ebcd8790cb109e3278c87945f6dc8885a Mon Sep 17 00:00:00 2001 From: radex Date: Fri, 2 Feb 2024 00:18:16 +0100 Subject: [PATCH] fix build --- gulpfile.js | 10 ++++++++-- src/index.html | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index e4b74ab..e56fb80 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -61,7 +61,12 @@ gulp.task('canvg', function(){ .pipe(gulp.dest('dist/js/lib')); }); -gulp.task('build', +gulp.task('qr', function () { + return gulp.src(['src/js/lib/qrcode.min.js']) + .pipe(gulp.dest('dist/js/lib')); +}); + +gulp.task('build', gulp.series( 'css', 'js', @@ -70,6 +75,7 @@ gulp.task('build', 'images', 'extensions', 'shapelib', - 'canvg' + 'canvg', + 'qr', ) ); \ No newline at end of file diff --git a/src/index.html b/src/index.html index cbd56c4..4670e74 100644 --- a/src/index.html +++ b/src/index.html @@ -760,8 +760,8 @@ - +