From 6817e8d8ad2ad225267168e8b3ff9aea9b8ffe56 Mon Sep 17 00:00:00 2001 From: Ryan Atkinson Date: Thu, 11 Jul 2024 15:22:33 -0600 Subject: [PATCH] turn off relative paths in SvelteKit --- svelte.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/svelte.config.js b/svelte.config.js index 5a4d338..66ba1c0 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -10,6 +10,7 @@ export default { vitePlugin: {inspector: {toggleKeyCombo: 'meta-shift'}}, // docs: https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/inspector.md kit: { adapter: adapter(), + paths: {relative: false}, // use root-absolute paths: https://kit.svelte.dev/docs/configuration#paths alias: {$routes: 'src/routes', $fixtures: 'src/fixtures'}, }, };