Responsiveness and tabs #179
@ -3,7 +3,7 @@ import { PDFDocument } from 'pdf-lib'
|
||||
import { Mark } from '../types/mark.ts'
|
||||
|
||||
import * as PDFJS from 'pdfjs-dist'
|
||||
import PDFJSWorker from 'pdfjs-dist/build/pdf.worker.mjs?worker'
|
||||
import PDFJSWorker from 'pdfjs-dist/build/pdf.worker.min.mjs?worker'
|
||||
if (!PDFJS.GlobalWorkerOptions.workerPort) {
|
||||
// Use workerPort and allow worker to be shared between all getDocument calls
|
||||
const worker = new PDFJSWorker()
|
||||
|
Loading…
Reference in New Issue
Block a user