Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

polyfill support for promise.withResolvers #474

Open
sujoys12 opened this issue Jun 19, 2024 · 0 comments
Open

polyfill support for promise.withResolvers #474

sujoys12 opened this issue Jun 19, 2024 · 0 comments

Comments

@sujoys12
Copy link

The current version 4 of pdfjs-dist is using Promise.withResolvers, which is not supported in older browsers. The FAQ of the pdfjs-dist repository suggests using the legacy build of the library for older browsers. You can find more information about this suggestion at https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#legacy-build.
How should this be handled in relation to react-pdf-js?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant