Skip to content

Commit

Permalink
Fix Vite specific entry not working outside react-pdf workspace
Browse files Browse the repository at this point in the history
Closes #1148
  • Loading branch information
wojtekmaj committed Nov 8, 2022
1 parent 4ebd4af commit bf11a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entry.vite.js
@@ -1,6 +1,6 @@
import * as pdfjs from 'pdfjs-dist/build/pdf';
// eslint-disable-next-line import/no-unresolved
import pdfjsWorker from 'pdfjs-dist/build/pdf.worker?url';
import pdfjsWorker from './pdf.worker.entry?url';

import Document from './Document';
import Outline from './Outline';
Expand Down

0 comments on commit bf11a7e

Please sign in to comment.