2
0

Use CSR globally for svektekit

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-01-23 11:07:16 +08:00
parent 948c5013d3
commit ac2a2ccf1f
9 changed files with 18 additions and 858 deletions

View File

@@ -1,21 +1,14 @@
import adapter from "@sveltejs/adapter-cloudflare";
import adapter from "@sveltejs/adapter-static";
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
adapter: adapter({
// See below for an explanation of these options
config: undefined,
platformProxy: {
configPath: undefined,
environment: undefined,
persist: undefined,
},
fallback: "plaintext",
routes: {
include: ["/*"],
exclude: ["<all>"],
},
pages: "build",
assets: "build",
fallback: undefined,
precompress: true,
strict: true,
}),
},
};