svelte: don't use relative paths for bundle lilnks in html

this prevents a blank page from showing up when a user
visits a non-existing page on a static build
This commit is contained in:
dumbmoron
2024-07-07 16:10:12 +00:00
parent db8d57fea0
commit 651a3add48

View File

@@ -17,6 +17,9 @@ const config = {
precompress: false,
strict: true
}),
paths: {
relative: false
},
alias: {
$components: 'src/components',
$i18n: 'i18n',