FirebaseExtended / FirebaseExtended/rxfire

Does this package support SSR?

Open
#48 1 comment 1 reaction 1 assignee Claimed by @davideast View on GitHub
Dominant language
TypeScript
Stars
149
Forks
50
PR merge metrics
No merged PRs in 30d

Description

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:
```
"firebase": "^9.6.1",
"rxfire": "^6.0.3",
"rxjs": "^7.4.0"
```

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.