Skip to content

@stephansama packages / @stephansama/multipublish / jsr / loadConfig

Function: loadConfig()

ts
function loadConfig(basePath): Promise<
  | {
  config: null;
  filename: undefined;
}
  | {
  config: {
     exclude?: string[];
     exports: string | string[] | Record<string, string>;
     include?: string[];
     license?: string;
     name: string;
     version: string;
  };
  filename: string;
}>;

Defined in: core/multipublish/src/jsr.ts:51

Parameters

basePath

string

Returns

Promise< | { config: null; filename: undefined; } | { config: { exclude?: string[]; exports: string | string[] | Record<string, string>; include?: string[]; license?: string; name: string; version: string; }; filename: string; }>

Released under MIT license