@opentui/core/runtime-plugin-support
Every export of @opentui/core/runtime-plugin-support in the 0.6.0 release, from its type declarations. A version names the release that added an export after the module's first release.
Functions#
function createRuntimePlugin(input?: CreateRuntimePluginOptions): BunPluginfunction ensureRuntimePluginSupport(options?: CreateRuntimePluginOptions): boolean
Interfaces#
interface CreateRuntimePluginOptionsproperty CreateRuntimePluginOptions.additional?: Record<string, RuntimeModuleEntry>property CreateRuntimePluginOptions.core?: RuntimeModuleEntryproperty CreateRuntimePluginOptions.preserve?: RuntimeSpecifierPreserve0.5.15property CreateRuntimePluginOptions.rewrite?: RuntimePluginRewriteOptions
Types#
type RuntimeModuleEntry = RuntimeModuleExports | RuntimeModuleLoadertype RuntimeModuleExports = Record<string, unknown>type RuntimeModuleLoader = () => RuntimeModuleExports | Promise<RuntimeModuleExports>type RuntimeSpecifierPreserve = readonly string[] | ReadonlySet<string> | ((specifier: string) => boolean)
Constants and variables#
const runtimeModuleIdForSpecifier: (specifier: string) => string