Skip to main content

publicsearchConfig

Callable

  • searchConfig(path?: string): Promise<Config>

  • Searches config files in the given directory. Returns an empty object when config files does not exist in the directory.


    Parameters

    • path: string = ...

      Path to the working directory. Default to current working directory (CWD).

    Returns Promise<Config>