🚀 Initial sveltekit app

This commit is contained in:
Rune Harlyk
2024-03-28 01:04:52 +01:00
committed by Rune Harlyk
parent 23806e366b
commit 0acbb4c83a
85 changed files with 6096 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @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({
pages: '../esp32/data',
assets: '../esp32/data',
fallback: 'index.html',
precompress: false,
strict: true
})
}
};
export default config;