- Svelte 5 frontend with Catppuccin Mocha theme, 2 project cards - Electrobun v1.16.0 with bundleWGPU: true (Dawn on Linux x64) - WebKitGTK webview + WGPU surface coexistence confirmed - CPU: 6.5% idle (CSS animation + WebKitGTK overhead) - Port 9760 for dev server (project convention)
15 lines
280 B
TypeScript
15 lines
280 B
TypeScript
import { defineConfig } from "vite";
|
|
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
|
|
|
export default defineConfig({
|
|
plugins: [svelte()],
|
|
root: "src/mainview",
|
|
build: {
|
|
outDir: "../../dist",
|
|
emptyOutDir: true,
|
|
},
|
|
server: {
|
|
port: 9760,
|
|
strictPort: true,
|
|
},
|
|
});
|