From 0cd605474225b5010f7ef7a8fe99276e4b240388 Mon Sep 17 00:00:00 2001 From: Rob Brazier Date: Fri, 11 Mar 2022 22:18:26 +0000 Subject: [PATCH] apply svelte-kit configuration recommendations --- svelte.config.js | 3 +++ tsconfig.json | 1 + 2 files changed, 4 insertions(+) diff --git a/svelte.config.js b/svelte.config.js index 4f618574..7cde2e2d 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -24,6 +24,9 @@ const config = { include: ["highlight.js/lib/core"], }, }, + "prerender": { + "default": true + } } }; diff --git a/tsconfig.json b/tsconfig.json index 773bd1f7..ca6c7372 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,4 +1,5 @@ { + "extends": "./.svelte-kit/tsconfig.json", "compilerOptions": { "moduleResolution": "node", "module": "es2020",