diff options
| author | Fuwn <[email protected]> | 2023-11-19 04:40:02 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-11-19 04:40:02 -0800 |
| commit | b1454872a74a955ff2dca7014b4549f153686bea (patch) | |
| tree | 66a2e1fa53d0615421aa084dd5eb12641a071d3a /svelte.config.js | |
| parent | fix(npm): remove lockfile (diff) | |
| download | frontend-next-b1454872a74a955ff2dca7014b4549f153686bea.tar.xz frontend-next-b1454872a74a955ff2dca7014b4549f153686bea.zip | |
feat(svelte): complete sveltekit upgrade
Diffstat (limited to 'svelte.config.js')
| -rw-r--r-- | svelte.config.js | 11 |
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, - }, }, }; |