@kovojs/compiler
v0.2.0
Published
Kovo's build-time compiler. It lowers authored TSX/JSX app components into server modules, client modules, graphs, diagnostics, and Vite integration artifacts. App authors usually reach it through `vp`, `kovo`, or the Vite plugin.
Readme
@kovojs/compiler
Kovo's build-time compiler. It lowers authored TSX/JSX app components into
server modules, client modules, graphs, diagnostics, and Vite integration
artifacts. App authors usually reach it through vp, kovo, or the Vite plugin.
pnpm add -D @kovojs/compilerimport { defineConfig } from 'vite';
import { kovoVitePlugin } from '@kovojs/compiler';
export default defineConfig({
plugins: [kovoVitePlugin()],
});Reference
- Guides:
/guides/compiler-internals/,/guides/cli/ - Public surface: see
public-packages.jsonfor the app-facing and generated subpaths.
