Skip to content

Commit

Permalink
turn off relative paths in SvelteKit
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanatkn committed Jul 11, 2024
1 parent 1ce51ba commit 6817e8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'},
},
};

0 comments on commit 6817e8d

Please sign in to comment.