aboutsummaryrefslogtreecommitdiff
path: root/svelte.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'svelte.config.js')
-rw-r--r--svelte.config.js11
1 files changed, 2 insertions, 9 deletions
diff --git a/svelte.config.js b/svelte.config.js
index 0b32148..6322225 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -1,18 +1,11 @@
import adapter from "@sveltejs/adapter-cloudflare";
-import preprocess from "svelte-preprocess";
+import { vitePreprocess } from "@sveltejs/kit/vite";
/** @type {import('@sveltejs/kit').Config} */
const config = {
- // Consult https://github.com/sveltejs/svelte-preprocess
- // for more information about preprocessors
- preprocess: preprocess(),
-
+ preprocess: vitePreprocess(),
kit: {
adapter: adapter(),
-
- prerender: {
- enabled: true,
- },
},
};