diegomura / diegomura/react-pdf
Unable to build with Parcel - ReferenceError primitives import is not defined
- Dominant language
- TypeScript
- Stars
- 16.8k
- Forks
- 1.3k
- Avg merge
- 5h 6m
- Merged PRs (30d)
- 52
Description
**Describe the bug**
I'm currently running into the exact same issue listed here: https://github.com/diegomura/react-pdf/issues/1786
This is running on Parcel V2 with React 18, and ReactPDF V3.
Comparing to this same issue here https://github.com/diegomura/react-pdf/issues/1915, the main thing I notice is that I'm using npm and them yarn.
I'm still able to run the app normally while doing development. It's explicitly the dist build with this issue.
**To Reproduce**
1. Create a base parcel project with npm and react-pdf
2. Run a parcel build to create a `dist/` folder
3. serve it using either `serve` or `http-server`
**Screenshots**

Contributor guide
Assessment
This issue has not been assessed yet.