pub fn render_component_assets(
protocol: &WebUIProtocol,
entry: &str,
roots: &[String],
file_name_template: &str,
emit_metafile: bool,
) -> Result<ComponentAssetGraph, WebUIError>Expand description
Render a static component asset graph.
Entry-reachable components remain external prerequisites. Components used by one requested root stay inline, while components with an identical multi-root consumer set are emitted once in a shared chunk.
ยงErrors
Returns WebUIError when the entry/root graph is invalid, contains a
route, lacks compiled template metadata, or produces colliding filenames.