Function hasFile

    • Searches all files from starting directory skipping any directories in skipDir and those starting with . in an attempt to locate a Babel configuration file. If a Babel configuration file is found true is immediately returned.

      Parameters

      Returns Promise<boolean>

      Whether a file passes the condition tests provided.