Skip to content

renderersFromGlob

renderersFromGlob(glob): Record<string, LazyRenderer>

Derives the registry from Vite’s import.meta.glob('./presentations/*.tsx'): each file’s basename (without extension) is the Template externalId, and the module’s default export is the renderer. presentations/hero.tsxhero.

Record<string, () => Promise<unknown>>

Record<string, LazyRenderer>