UNPKG

bit-bin

Version:

<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b

16 lines (15 loc) 593 B
import { Specifier, LinkFile } from './types/dependency-tree-type'; export declare type PathMapDependency = { importSource: string; isCustomResolveUsed?: boolean; resolvedDep: string; importSpecifiers?: Specifier[]; linkFile?: boolean; realDependencies?: LinkFile[]; }; export declare type PathMapItem = { file: string; dependencies: PathMapDependency[]; }; export declare function convertPathMapToRelativePaths(pathMap: PathMapItem[], baseDir: string): PathMapItem[]; export declare function getPathMapWithLinkFilesData(pathMap: PathMapItem[]): PathMapItem[];