// The modules the app and every extension's web bundle share: one instance each, so that, say, a signal the app // hands a renderer is the same `Signal` the renderer's jsx checks for. export const HOST_MODULES = [ "@char/aftercare", "@char/aftercare/jsx-runtime", "@berry/api/web.ts", ] as const; export type HostModule = (typeof HOST_MODULES)[number]; /** Where the app puts them, for extension bundles to read. */ export const HOST_GLOBAL = "__berryHost";