i created a simple repo to reproduce
https://github.com/bryanprimus/convex-react-rolldown-vite
- created using
bun create vite
- installed
convex
- imported
convex/react in main.tsx
it throws
Uncaught Error: Required dependency 'react' not found
note, update:
when i created the proj using bun create vite, i enabled rolldown-vite, and when turn it off / switched the original vite, by deleting rolldown override in package.json of reproduce repo, and installing normal vite, it doesn't throw any error
i know that rolldown-vite is still in beta, i'm just wondering if the fix should be from convex side, or vite side, if it is from vite side, i'll close this issue