One no-write result
compileSource returns the project-relative build module, component analysis, ModuleIR, optional handler module, and assets.
ANALYZE · RETURN · ORCHESTRATE
Goal A completes with normalization, TSX analysis, ModuleIR finalization, handler generation, and build-module generation behind one no-write source compiler result.
GOAL A COMPLETE
compileSource returns the project-relative build module, component analysis, ModuleIR, optional handler module, and assets.
No TypeScript node, Map, Set, function, closure, or Symbol crosses into build orchestration.
Source graph resolution and URL/filesystem conversion now have focused shared owners.
The Worker compiler owns graph emission while source results retain only JSON-safe edges and rewritten source.
The complete site and eight representative deploy trees remain byte-identical to 0.8.22.
RouteIR, CapabilityIR, complete HTML, browser IDs, accepted syntax, and runtime capabilities remain unchanged.
UPGRADE
npm install @kudzujs/core@^0.8.23