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 13fa0c3 commit 52d71a9
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 52d71a9

Please sign in to comment.