Skip to content

armgit / kiln

Public Imported from GitHub
0

Build and revise procedural 3D assets with your coding agent. Local MCP server, CLI and TypeScript engine with rendered review, editable source and GLB export.

366 B
Raw Blame
import { sceneStandaloneConfig, sourcePath } from '../src/build/index.ts';
export default ({ mode }: { mode: string }) => sceneStandaloneConfig({
  root: sourcePath(new URL('.', import.meta.url)),
  outDir: sourcePath(new URL('../dist/' + (mode === 'public' ? 'standalone' : mode), import.meta.url)),
  mode: mode === 'test' || mode === 'dev' ? mode : 'public',
});