mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-07 02:22:52 +00:00
refactor: update to Svelte 5 preview
feat: add charrecorder feat: dynamic os layouts for CC1
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user