Skip to main content

Managed (ui)

Functions

buildManagedDevtools

Build a managed devtools panel from config.sourceDir using an internal Vite build. Returns the manifest-relative entry path (e.g. "ui/devtools/index.html").

import { buildManagedDevtools } from '@hexajs-dev/ui';
function buildManagedDevtools(config: HexaUiSurfaceConfig | undefined, outputDir: string, compilerOptions: HexaUiCompilerOptions, bootstrapPath: string, platform: string, watch?: boolean, hmrAddress?: string, hmrSessionToken?: string, cwd?: string): Promise<string>