Update kit & adapter packages

This commit is contained in:
Ryan Gossiaux
2022-03-02 00:13:01 -08:00
parent c73ac8b9f1
commit 7fc9629975
3 changed files with 441 additions and 1948 deletions

2380
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -4,7 +4,7 @@
let el: HTMLElement | null = null;
$: isHome = $page.path.endsWith("docs");
$: isHome = $page.url.pathname.endsWith("docs");
$: base = isHome ? "docs/" : "";
$: pages = [
@@ -37,7 +37,7 @@
{#each pages as p (p.url)}
<a
href={p.url}
class:font-bold={$page.path.includes(p.url)}
class:font-bold={$page.url.pathname.includes(p.url)}
class="py-1 hover:decoration-stone-400 hover:underline">{p.text}</a
>
{/each}
@@ -45,7 +45,7 @@
{#each components as component (component.url)}
<a
href={component.url}
class:font-bold={$page.path.includes(component.url)}
class:font-bold={$page.url.pathname.includes(component.url)}
class="py-1 hover:decoration-stone-400 hover:underline"
>{component.text}</a
>

View File

@@ -26,9 +26,6 @@ const config = {
return !filepath.endsWith(".test.ts");
},
},
// hydrate the <div id="svelte"> element in src/app.html
target: "#svelte",
},
};