You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use SvelteKit with rxfire. When I build and preview for production, it gives me an error upon I opening the app.
This line: import { collectionData } from 'rxfire/firestore';
Get this error: Named export 'collectionData' not found. The requested module 'rxfire/firestore' is a CommonJS module, which may not support all module.exports as named exports.
I'm trying to use SvelteKit with rxfire. When I build and preview for production, it gives me an error upon I opening the app.
This line:
import { collectionData } from 'rxfire/firestore';
Get this error:
Named export 'collectionData' not found. The requested module 'rxfire/firestore' is a CommonJS module, which may not support all module.exports as named exports.
Packages I'm using:
I can get firebase alone to work, but when I try to include fxfire, it errors.
This might also be an issue with Vite. Just want to know if rxfire was tested/supported for SSR. Thanks.
The text was updated successfully, but these errors were encountered: