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
I followed instructions in documentation written for my React-PDF version
I have checked if this bug is not already reported
I have checked if an issue is not listed in Known issues
If I have a problem with PDF rendering, I checked if my PDF renders properly in PDF.js demo
Description
Configuration for using workerSrc in Next is not working. In local development with next dev is working, but when you try to do next build it fails.
With the example of the sample projects also fails.
Steps to reproduce
Try to do next build
Expected behavior
It compiles and runs fine
Actual behavior
It fails in building process
Additional information
Here is a sample repo. But literally you can use the official I mentioned above. And it fails with and without turbo mode enabled.
Environment
Browser (if applicable): Any
React-PDF version: 9.1.0
React version: 18.3.1
Bundler name and version (if applicable):
The text was updated successfully, but these errors were encountered:
Well, samples included in the repo are definitely working for me; otherwise there would be no release. If you encounter any issues with it, please report it while sharing the error message you got, and we'll work from here.
Before you start - checklist
Description
Configuration for using workerSrc in Next is not working. In local development with
next dev
is working, but when you try to donext build
it fails.With the example of the sample projects also fails.
Steps to reproduce
next build
Expected behavior
Actual behavior
Additional information
Here is a sample repo. But literally you can use the official I mentioned above. And it fails with and without turbo mode enabled.
Environment
The text was updated successfully, but these errors were encountered: