Fix: correct broken worker src after upgrade to pdfjs v4 (#7626)

This commit is contained in:
shamoon
2024-09-05 00:26:16 -07:00
committed by GitHub
parent b29c1e91d1
commit e1ba1a1898
2 changed files with 3 additions and 3 deletions

View File

@@ -67,8 +67,8 @@
"src/assets",
"src/manifest.webmanifest",
{
"glob": "{pdf.worker.min.js,pdf.min.js}",
"input": "node_modules/pdfjs-dist/build/",
"glob": "{pdf.worker.min.mjs,pdf.min.mjs}",
"input": "node_modules/pdfjs-dist/legacy/build/",
"output": "/assets/js/"
}
],