You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This appears to be because the library hardcodes the Webpack specific loading for PDF.js. It doesn't allow you to do this yourself and I'm not sure it properly loads the cmaps.
react-pdf handles this by letting you configure PDF.js as you need.
Describe the bug
A clear and concise description of what the bug is.
How to Reproduce
Steps to reproduce the behavior:
<PDFViewer document={{ url: 'https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf', }} />
on component.
Screenshots
Details (please complete the following information):
The text was updated successfully, but these errors were encountered: