LoadConfigSource
interface LoadConfigSource <T = any> {
extensions?: string[];
files: Arrayable<string>;
parser?: BuiltinParsers | CustomParser<T> | "auto";
rewrite?: <F = any>(obj: F, filepath: string) => Promise<T | undefined> | T | undefined;
skipOnError?: boolean;
transform?: (code: string, filepath: string) => Promise<string | undefined> | string | undefined;
}§Properties
§
parser?: BuiltinParsers | CustomParser<T> | "auto"
[src]Loader for loading config,