Skip to content

Transform: resolveMacroRuntimeModule

Functions, types, and exports for Transform: resolveMacroRuntimeModule.

Page outline

Resolve the module the macro transform imports the runtime getter from.

An explicit runtimeModule always wins, preserving advanced custom bindings.

import { resolveMacroRuntimeModule } from "@palamedes/transform"

resolveMacroRuntimeModule(runtimeModule?: string): string

Parameters

NameTypeRequired
runtimeModulestringNo

Returns

string

Source entry on GitHub

Last updated: November 1, 2026