@shopify/cli-kit
    Preparing search index...

    Function extractImportPaths

    • Extracts import paths from a source file. Supports JavaScript, TypeScript, and Rust files. Results are cached per file path to avoid redundant I/O.

      Parameters

      • filePath: string

        Path to the file to analyze.

      Returns string[]

      Array of absolute paths to imported files.