Skip to content

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