Dexie.js
Dexie.js copied to clipboard
fix: 'Dexie' Not Found in Production with Vite/Vinxi dexie-react-hooks
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.
Thanks. This seem to be a completion of #2155 for the other hooks.
Nice! Let me know when you release it, so I can remove the patch, thanks!