import { defineConfig } from "vite"; // A static page. The kernel (unkernel's bundled unkernel.wasm) is a Vite // asset found through `new URL(..., import.meta.url)` in the SDK, so the // SDK must not be pre-bundled in dev or that URL points nowhere. export default defineConfig({ build: { target: "esnext", assetsInlineLimit: 0 }, optimizeDeps: { exclude: ["unkernel"] }, server: { port: 5178 }, preview: { port: 5178 }, });