refactor: update to Svelte 5 preview

feat: add charrecorder
feat: dynamic os layouts for CC1
This commit is contained in:
2024-08-01 00:28:38 +02:00
parent 6201cf5b0c
commit b8b903c5e1
61 changed files with 6765 additions and 4572 deletions

View File

@@ -1,8 +1,8 @@
import adapter from "@sveltejs/adapter-static";
import { sveltePreprocess } from "svelte-preprocess";
import autoprefixer from "autoprefixer";
import { readFile } from "fs/promises";
import { fileURLToPath } from "url";
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
const { version } = JSON.parse(
await readFile(
@@ -13,7 +13,10 @@ const { version } = JSON.parse(
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: [sveltePreprocess({ postcss: { plugins: autoprefixer() } })],
preprocess: [vitePreprocess({ postcss: { plugins: autoprefixer() } })],
compilerOptions: {
runes: true,
},
kit: {
adapter: adapter({ fallback: "404.html" }),
alias: {