banira
    Preparing search index...

    Function collectBareSpecifiers

    • Collects the unique, sorted bare import specifiers used by the given module files. With { recursive: true } it follows relative imports to gather bare specifiers across the whole local module graph; otherwise it scans only the listed files. Relative .css imports and unresolved relative paths are ignored.

      Parameters

      • files: string[]
      • options: { recursive?: boolean } = {}

      Returns string[]