-
-
Notifications
You must be signed in to change notification settings - Fork 982
Closed as not planned
Labels
bugSomething isn't workingSomething isn't workinginvalidThis doesn't seem rightThis doesn't seem right
Description
Before you start - checklist
- 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):
JakeSc
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinginvalidThis doesn't seem rightThis doesn't seem right