fix: load the pdf.js worker with the Map upsert polyfill

This commit is contained in:
alam00000 committed 2026-08-22 16:02:34 +05:30
1 parent 8e606b652c
commit c449a85745
42 files changed
+112 -181

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
import * as pdfjsLib from 'pdfjs-dist';
import pdfWorkerUrl from '../pdf.worker?worker&url';
pdfjsLib.GlobalWorkerOptions.workerSrc = pdfWorkerUrl;