1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-26 15:54:17 +01:00

Aggiornamento pdfjs-viewer

This commit is contained in:
Luca 2023-05-11 14:14:28 +02:00
parent ef151a829b
commit 8d212f4310

View File

@ -344,16 +344,16 @@ function csrf() {
function pdfjs() {
const web = gulp.src([
config.nodeDirectory + '/pdf.js/lib/dist/pdfjs/web/**/*',
'!' + config.nodeDirectory + '/pdf.js/lib/dist/pdfjs/web/cmaps/*',
'!' + config.nodeDirectory + '/pdf.js/lib/dist/pdfjs/web/*.map',
'!' + config.nodeDirectory + '/pdf.js/lib/dist/pdfjs/web/*.pdf',
config.nodeDirectory + '/pdf.js/demo/vue/public/pdfjs-prebuilt/web/**/*',
'!' + config.nodeDirectory + '/pdf.js/demo/vue/public/pdfjs-prebuilt/web/cmaps/*',
'!' + config.nodeDirectory + '/pdf.js/demo/vue/public/pdfjs-prebuilt/web/*.map',
'!' + config.nodeDirectory + '/pdf.js/demo/vue/public/pdfjs-prebuilt/web/*.pdf',
])
.pipe(gulp.dest(config.production + '/pdfjs/web'));
const build = gulp.src([
config.nodeDirectory + '/pdf.js/lib/dist/pdfjs/build/*',
'!' + config.nodeDirectory + '/pdf.js/lib/dist/pdfjs/build/*.map',
config.nodeDirectory + '/pdf.js/demo/vue/public/pdfjs-prebuilt/build/*',
'!' + config.nodeDirectory + '/pdf.js/demo/vue/public/pdfjs-prebuilt/build/*.map',
])
.pipe(gulp.dest(config.production + '/pdfjs/build'));