Dexie.js icon indicating copy to clipboard operation
Dexie.js copied to clipboard

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

Open Contraboi opened this issue 7 months ago • 2 comments

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.

Contraboi avatar May 12 '25 15:05 Contraboi

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

dfahlander avatar May 12 '25 16:05 dfahlander

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

Contraboi avatar May 12 '25 16:05 Contraboi