loadConfig
loadConfig(
configPath?):Promise<LoadedConfig>
Defined in: packages/cli/src/loader.ts:66
Load and parse a sigilry config file.
Supports TypeScript (.ts, .mts) and JavaScript (.js, .mjs) configs. TypeScript files are loaded using tsx/register or similar loaders that the user has configured in their project.
Parameters
Section titled “Parameters”configPath?
Section titled “configPath?”string
Path to the config file (optional, will search if not provided)
Returns
Section titled “Returns”Promise<LoadedConfig>
Throws
Section titled “Throws”Error if config file not found or invalid