svelte: don't use relative paths for bundle links 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 d22230b1d5
commit da1a11b5ce
No known key found for this signature in database

View file

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