summaryrefslogtreecommitdiff
path: root/hi-ui/svelte.config.js
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-10-05 18:17:25 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-10-05 18:17:25 -0400
commit0c0cd1daa0c6640e81bb6282ae4a1c574cf135f4 (patch)
treed6b4195cc7be249fb55cb1160f01db0a6daa84f1 /hi-ui/svelte.config.js
parent54a542df2164e421e78b48d7229a6bfabbc5c26b (diff)
parent40cc35bcc9b881a61ca62c67e107bb17c2748f57 (diff)
Merge branch 'wip/ui'
Diffstat (limited to 'hi-ui/svelte.config.js')
-rw-r--r--hi-ui/svelte.config.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/hi-ui/svelte.config.js b/hi-ui/svelte.config.js
new file mode 100644
index 0000000..07e332f
--- /dev/null
+++ b/hi-ui/svelte.config.js
@@ -0,0 +1,17 @@
+import adapter from '@sveltejs/adapter-static';
+import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
+
+/** @type {import('@sveltejs/kit').Config} */
+const config = {
+ kit: {
+ // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
+ // If your environment is not supported, or you settled on a specific environment, switch out the adapter.
+ // See https://kit.svelte.dev/docs/adapters for more information about adapters.
+ adapter: adapter({
+ fallback: 'index.html',
+ }),
+ },
+ preprocess: vitePreprocess()
+};
+
+export default config;