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

Hydration modules exported twice #76

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Jakeii
Copy link

@Jakeii Jakeii commented Feb 10, 2022

the following error is occurring when using hydrate or dehydrate and building sveltekit with rollup.

"hydrate" cannot be exported from ../../node_modules/@sveltestack/svelte-query/svelte/queryCore/core/hydration.js as it is a reexport that references itself.

I discovered it's because the hydration module is exported twice, so just removed one of them.

It's exported as part of './core' in the same file.

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.

1 participant