Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sveltekit fixes #1691

Merged
merged 4 commits into from
Mar 27, 2023
Merged

Sveltekit fixes #1691

merged 4 commits into from
Mar 27, 2023

Conversation

dfahlander
Copy link
Collaborator

Fixes a few issues with SvelteKit:

  1. SyntaxError: Cannot use import statement outside a module when using dexie-cloud-addon
  2. SSR check needed in every use of liveQuery()
  3. Typing incompability between Dexie's Observable<T> and Svelte's Readable

"Cannot use import statement outside a module"
Solution: Set type: "module" on dexie-cloud-addon makes vite and/or sveltekit happier
(they seem to ignore my work on the "exports" field ....)
compatible with Svelte (and still also RxJS)
@dfahlander dfahlander merged commit e309730 into master Mar 27, 2023
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.

None yet

1 participant