Variable ESM_DEPENDENCY_MAPConst
ESM_DEPENDENCY_MAP: {
errors: string;
generated: string;
generatedAccounts: string;
generatedErrors: string;
generatedInstructions: string;
generatedPdas: string;
generatedPrograms: string;
generatedTypes: string;
hooked: string;
shared: string;
types: string;
} = ...
Type Declaration
errors: string
generated: string
generatedAccounts: string
generatedErrors: string
generatedInstructions: string
generatedPdas: string
generatedPrograms: string
generatedTypes: string
hooked: string
shared: string
types: string
Dependency map for ESM module resolution in Codama-generated code.
This map defines how internal module dependencies should be resolved when generating ESM-compatible TypeScript/JavaScript code. Each key represents a dependency identifier used in the Codama code generation process, and each value is the relative path to the actual module file in the generated output.
The paths are relative to the importing module and include the .js extension for proper ESM resolution, even when the source files are TypeScript.