Does the pdf.worker.js file from the CDN support WebAssembly (WASM)? Or is there a dedicated version? #19928
Unanswered
ruppo-912116
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m using PDF.js in my project and trying to understand how WebAssembly (WASM) support works with the pdf.worker.js file.
I’ve seen suggestions from various AI tools (like ChatGPT) and online tutorials that say I should download a version of pdf.worker.js that supports WASM. However, I couldn’t find any official documentation or clarification about this.
Specifically:
Does the default pdf.worker.js file provided via the official CDN (e.g., https://unpkg.com/pdfjs-dist/...) already include support for WASM?
Or is there a separate worker file (or configuration) required to enable WASM support?
I’ve searched through the documentation and GitHub repo, but couldn’t find a clear answer.
Any help or clarification from the maintainers or experienced users would be greatly appreciated!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions