We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
export { type Foo } from ...
Using the houdini vite plugin causes the following code to cause crashes when hydrating in the browser:
houdini
lib/test/test.svelte:
lib/test/test.svelte
<script lang="ts" module> export type TestTypeExport = string; </script> <p>foo</p>
lib/test/index.ts:
lib/test/index.ts
import Test from "./test.svelte"; export { type TestTypeExport } from "./test.svelte"; export { Test };
Reproduction here: https://github.com/fnimick/houdini-svelte-export-syntax-bug - created a blank sveltekit + houdini project using the templates, and adding the above files. No other changes were made.
Environment:
System: OS: macOS 15.1 CPU: (10) arm64 Apple M1 Pro Memory: 112.53 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.13.1 - ~/.asdf/installs/nodejs/20.13.1/bin/node Yarn: 1.22.19 - ~/.yarn/bin/yarn npm: 10.5.2 - ~/.asdf/plugins/nodejs/shims/npm pnpm: 9.7.0 - ~/.asdf/shims/pnpm npmPackages: houdini: ^1.3.0 => 1.3.0 houdini-svelte: ^2.0.0 => 2.0.0
https://github.com/fnimick/houdini-svelte-export-syntax-bug
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Using the
houdini
vite plugin causes the following code to cause crashes when hydrating in the browser:lib/test/test.svelte
:lib/test/index.ts
:Reproduction here: https://github.com/fnimick/houdini-svelte-export-syntax-bug - created a blank sveltekit + houdini project using the templates, and adding the above files. No other changes were made.
Environment:
Reproduction
https://github.com/fnimick/houdini-svelte-export-syntax-bug
The text was updated successfully, but these errors were encountered: