Skip to content

Commit 86a1c62

Browse files
committed
Exclude the icon gallery route from prerendering
1 parent 014af12 commit 86a1c62

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/routes/icons/+page.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Internal design aid, not part of the shipped site: opt out of the
2+
// prerendering the root layout switches on, so the build doesn't fail
3+
// looking for a route nothing links to. Still reachable via the SPA
4+
// fallback when someone types the URL.
5+
export const prerender = false;

0 commit comments

Comments
 (0)