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
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?
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 notreact-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
orwhatever/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)
The text was updated successfully, but these errors were encountered: