Skip to content

Commit

Permalink
use the modern version of worker
Browse files Browse the repository at this point in the history
  • Loading branch information
TaTo30 committed Aug 17, 2024
1 parent a2206a8 commit a3ba18c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue-pdf/src/components/composable.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as PDFJS from 'pdfjs-dist'
import PDFWorker from 'pdfjs-dist/legacy/build/pdf.worker.min?url'
import PDFWorker from 'pdfjs-dist/build/pdf.worker.min?url'
import { isRef, shallowRef, watch } from 'vue'

import type { PDFDocumentLoadingTask, PDFDocumentProxy } from 'pdfjs-dist'
Expand Down

0 comments on commit a3ba18c

Please sign in to comment.