Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Using React-PDF with Webpack 5 and Yarn (Berry) #915

Closed
wojtekmaj opened this issue Dec 29, 2021 · 0 comments
Closed

Using React-PDF with Webpack 5 and Yarn (Berry) #915

wojtekmaj opened this issue Dec 29, 2021 · 0 comments

Comments

@wojtekmaj
Copy link
Owner

Has anyone solved this using Webpack 5 and Yarn (Berry)?

With the way yarn stores dependencies in zip files, none of these solutions make a lot of sense for me. Plus, I don't understand where the references to pdfjs-dist are coming from, as that is not react-pdf.

Even if i manually installed that dependency, the solutions I've seen would not work as the imports or references to things like whatever/dist/pdf.worker.js or whatever/build/pdf.worker.js simply don't work with the latest Yarn.

Am I missing something here? Why should I even be concerned about where this worker file lives?

Originally posted by @forgo in #97 (comment)

Repository owner locked and limited conversation to collaborators Dec 29, 2021
@wojtekmaj wojtekmaj converted this issue into discussion #916 Dec 29, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant