@wpkernel/cli / createDiagnosticsFragment
Function: createDiagnosticsFragment()
ts
function createDiagnosticsFragment(): IrFragment;Creates an IR fragment that collects and aggregates diagnostics (warnings) from other fragments.
This fragment depends on the resources and capability-map fragments to gather any warnings or issues identified during their processing and consolidates them into a single list of diagnostics in the IR.
Returns
An IrFragment instance for diagnostics collection.
