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 @@ - +