Managed (ui)
Functions
buildManagedPopup
Build the React popup from config.sourceDir using an internal Vite build,
resolving @vitejs/plugin-react from the user's project.
Returns the manifest-relative entry path (e.g. "ui/popup/index.html").
import { buildManagedPopup } from '@hexajs-dev/ui';
function buildManagedPopup(config: HexaUiSurfaceConfig | undefined, outputDir: string, compilerOptions: HexaUiCompilerOptions, bootstrapPath: string, platform: string, watch?: boolean, hmrAddress?: string, hmrSessionToken?: string, cwd?: string): Promise<string>