Stone.js API
    Preparing search index...
    • List an application's source files.

      Results are absolute and sorted, so a build or a test suite sees the same files in the same order on every machine: an unsorted directory read is one of the ways a suite passes locally and fails in CI.

      Parameters

      • options: { pattern?: string } = {}

        The pattern to match (defaults to DEFAULT_APP_MODULES_PATTERN), relative to the project root unless it is already absolute.

      Returns string[]

      The matching file paths.