mirror of
https://github.com/alam00000/bentopdf.git
synced 2026-11-12 17:44:01 +01:00
fix: load the pdf.js worker with the Map upsert polyfill
This commit is contained in:
1 parent
8e606b652c
commit
c449a85745
42 files changed
+112
-181
No files matched your search
@@ -0,0 +1,4 @@
|
||||
import * as pdfjsLib from 'pdfjs-dist';
|
||||
import pdfWorkerUrl from '../pdf.worker?worker&url';
|
||||
|
||||
pdfjsLib.GlobalWorkerOptions.workerSrc = pdfWorkerUrl;
|
||||
Reference in new issue
Block a user