React / foldkit-react-codegen

generate

function · packages/react-codegen/src/generate.ts:41

function generate(options: GenerateOptions): Promise<GenerateResult>

Compiles each input to <outDir>/<path relative to rootDir>.tsx. Writes nothing if any file has diagnostics, and leaves a file untouched when its bytes would not change, so watchers and version control see no churn.