mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-26 07:44:02 +01:00
Aggiornamento pdfjs-viewer
This commit is contained in:
parent
ef151a829b
commit
8d212f4310
12
gulpfile.js
12
gulpfile.js
@ -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'));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user