mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 04:39:58 +00:00
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:
parent
d22230b1d5
commit
da1a11b5ce
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,9 @@ const config = {
|
|||
precompress: false,
|
||||
strict: true
|
||||
}),
|
||||
paths: {
|
||||
relative: false
|
||||
},
|
||||
alias: {
|
||||
$components: 'src/components',
|
||||
$i18n: 'i18n',
|
||||
|
|
Loading…
Reference in a new issue