From da1a11b5ce5822c68cec876030c5888765c32a54 Mon Sep 17 00:00:00 2001 From: dumbmoron Date: Sun, 7 Jul 2024 16:10:12 +0000 Subject: [PATCH] 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 --- web/svelte.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/svelte.config.js b/web/svelte.config.js index aac39830..b4751daa 100644 --- a/web/svelte.config.js +++ b/web/svelte.config.js @@ -17,6 +17,9 @@ const config = { precompress: false, strict: true }), + paths: { + relative: false + }, alias: { $components: 'src/components', $i18n: 'i18n',