Fix: include wasm assets in pdf.js-based viewer (#13122)

This commit is contained in:
shamoon
2026-07-11 22:14:38 -07:00
committed by GitHub
parent dabd7826d0
commit 71e2dd4b08
3 changed files with 21 additions and 1 deletions
+10
View File
@@ -79,6 +79,16 @@
"glob": "{pdf.worker.min.mjs,pdf.min.mjs}",
"input": "node_modules/pdfjs-dist/legacy/build/",
"output": "/assets/js/"
},
{
"glob": "**/*",
"input": "node_modules/pdfjs-dist/wasm/",
"output": "/assets/wasm/"
},
{
"glob": "**/*",
"input": "node_modules/pdfjs-dist/iccs/",
"output": "/assets/iccs/"
}
],
"styles": [