diff --git a/.changeset/small-walls-invite.md b/.changeset/small-walls-invite.md new file mode 100644 index 0000000000..94beaa7996 --- /dev/null +++ b/.changeset/small-walls-invite.md @@ -0,0 +1,5 @@ +--- +'houdini-svelte': patch +--- + +Fix relative imports from root layout diff --git a/.changeset/young-bears-invent.md b/.changeset/young-bears-invent.md new file mode 100644 index 0000000000..019097dec3 --- /dev/null +++ b/.changeset/young-bears-invent.md @@ -0,0 +1,5 @@ +--- +'houdini': patch +--- + +Add shebang to executable diff --git a/e2e/sveltekit/src/routes/+layout.svelte b/e2e/sveltekit/src/routes/+layout.svelte index 1911b7a976..415d0ea2fe 100644 --- a/e2e/sveltekit/src/routes/+layout.svelte +++ b/e2e/sveltekit/src/routes/+layout.svelte @@ -4,6 +4,10 @@ import cache from '$houdini/runtime/cache'; import { routes } from '$lib/utils/routes.js'; + // leave this in to make sure we don't break relative imports from + // the root layout. see: https://github.com/HoudiniGraphql/houdini/issues/629 + import Test from './Test.svelte'; + if (browser) { // @ts-ignore window.cache = cache; @@ -22,7 +26,7 @@ -
+