From 7b9d908d2c1612843990dd39decbdbf40e51dbd7 Mon Sep 17 00:00:00 2001 From: gammelalf Date: Mon, 23 Jan 2023 03:12:21 +0100 Subject: Reimplemented current frontend in svelte --- web/svelte.config.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 web/svelte.config.js (limited to 'web/svelte.config.js') diff --git a/web/svelte.config.js b/web/svelte.config.js new file mode 100644 index 0000000..8c8f77b --- /dev/null +++ b/web/svelte.config.js @@ -0,0 +1,23 @@ +import adapter from '@sveltejs/adapter-static'; +import { vitePreprocess } from '@sveltejs/kit/vite'; + +/** @type {import('@sveltejs/kit').Config} */ +const config = { + // Consult https://kit.svelte.dev/docs/integrations#preprocessors + // for more information about preprocessors + preprocess: vitePreprocess(), + + kit: { + adapter: adapter({ + // default options are shown. On some platforms + // these options are set automatically — see below + pages: 'build', + assets: 'build', + fallback: null, + precompress: false, + strict: true + }) + } +}; + +export default config; -- cgit v1.2.3