summaryrefslogtreecommitdiff
path: root/src/routes/projects/+page.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/routes/projects/+page.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/routes/projects/+page.ts b/src/routes/projects/+page.ts
new file mode 100644
index 0000000..e739ef4
--- /dev/null
+++ b/src/routes/projects/+page.ts
@@ -0,0 +1,9 @@
+import { dev } from '$app/environment';
+
+// we don't need any JS on this page, though we'll load
+// it in dev so that we get hot module replacement
+export const csr = dev;
+
+// since there's no dynamic data here, we can prerender
+// it so that it gets served as a static asset in production
+export const prerender = true;