Skip to content

fix: 'Dexie' Not Found in Production with Vite/Vinxi dexie-react-hooks#2162

Merged
dfahlander merged 1 commit intodexie:masterfrom
Contraboi:bugfix/dexie-not-found-react-hooks
Jul 5, 2025
Merged

fix: 'Dexie' Not Found in Production with Vite/Vinxi dexie-react-hooks#2162
dfahlander merged 1 commit intodexie:masterfrom
Contraboi:bugfix/dexie-not-found-react-hooks

Conversation

@Contraboi
Copy link
Copy Markdown
Contributor

When using dexie-react-hooks with TanStack Start (which uses Vinxi/Vite), the production build fails with the error "Named export 'Dexie' not found". This occurs due to an ESM/CommonJS interoperability issue in the production build process, while development mode works correctly.

@dfahlander
Copy link
Copy Markdown
Collaborator

Thanks. This seem to be a completion of #2155 for the other hooks.

@Contraboi
Copy link
Copy Markdown
Contributor Author

Nice! Let me know when you release it, so I can remove the patch, thanks!

@dfahlander dfahlander merged commit 87ccd15 into dexie:master Jul 5, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants