kog.config.ts
Project-level configuration. Everything has a sensible default; a fresh project's config is nearly empty.
import { defineConfig } from 'kog';
export default defineConfig({
// Entry point (default: src/App.tsx)
entry: 'src/App.tsx',
// Board file (default: ./board.yaml if present)
board: './board.yaml',
simulator: {
// Override display for board-less development (defaults come from board.yaml)
width: 320,
height: 240,
zoom: 2, // scale factor for the window on high-DPI desktops
},
dev: {
port: 8632, // dev-server port
wireless: true, // browse mDNS for devices
},
build: {
// Screens to split into separately loadable chunks (optional)
codeSplit: [],
},
ota: {
// Path to your Ed25519 signing key for release bundles
// (a dev key is generated per-project automatically)
signingKey: process.env.KOG_SIGNING_KEY,
},
});
note
The full option surface will grow with the toolchain; options documented here are stable. Unknown keys are a build error, not silently ignored.