mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-11 17:29:44 +00:00

* feat: add pin screenshot builtin command * feat: pin screenshot command nows zoom and scroll * chore: upgrade @kksh/svelte5 * feat: add mdns built-in command * feat: add sidebar for settings page * fix: builtin command command listing problem with key id in "each" loop * feat: add settings * style: modify settings sidebar style * feat: add sidebar to troubleshooter pages * fix: some styling bug * feat: add menu item highlight for sidebar * feat: improve some keyboard interaction logic * fix: improve troubleshooter flex box * feat: add uuid for mdns * fix mdns host removing caused by dead lock * feat: settings page implemented, hotkey, hide on blur implemented * style: update styles in settings * feat: improve search bar dropdown menu items
24 lines
658 B
JavaScript
24 lines
658 B
JavaScript
// Tauri doesn't have a Node.js server to do proper SSR
|
|
// so we will use adapter-static to prerender the app (SSG)
|
|
// See: https://v2.tauri.app/start/frontend/sveltekit/ for more info
|
|
import adapter from "@sveltejs/adapter-static"
|
|
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
preprocess: vitePreprocess(),
|
|
kit: {
|
|
adapter: adapter({
|
|
fallback: "400.html"
|
|
// fallback: "index.html"
|
|
}),
|
|
alias: {
|
|
"@/*": "./src/lib/*",
|
|
// "@kksh/ui/*": "../../packages/ui/*",
|
|
// "@kksh/svelte5/*": "../../node_modules/@kksh/svelte5/src/lib/*"
|
|
}
|
|
}
|
|
}
|
|
|
|
export default config
|