feat(frontend)!: sveltekit 3 on the v0.7.0 template, typescript 6, adapter-auto dropped; backend base moves to trixie

This commit is contained in:
hh committed 2026-10-10 23:18:57 +00:00
1 parent b1ffebe858
commit 4d16105e92
116 files changed
+756 -711

No files matched your search

+21 -1
View File
@@ -1,4 +1,6 @@
import adapter from "@sveltejs/adapter-static";
import { sveltekit } from "@sveltejs/kit/vite";
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
import tailwindcss from "@tailwindcss/vite";
import { defineConfig } from "vite";
@@ -15,7 +17,25 @@ export default defineConfig({
},
},
},
plugins: [tailwindcss(), sveltekit()],
plugins: [
tailwindcss(),
sveltekit({
adapter: adapter({
assets: "build",
fallback: "index.html",
pages: "build",
precompress: false,
strict: false,
}),
compilerOptions: {
// Force runes mode for the project, except for libraries. Can be removed in svelte 6.
runes: ({ filename }) =>
// biome-ignore lint/performance/useTopLevelRegex: svelte default
filename.split(/[/\\]/).includes("node_modules") ? undefined : true,
},
preprocess: [vitePreprocess()],
}),
],
server: {
allowedHosts,
proxy: {