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
10 lines (9 loc) • 757 B
TypeScript
import { PathOsBased } from '../utils/path';
import { ImportSpecifier } from '../consumer/component/dependencies/files-dependency-builder/types/dependency-tree-type';
export declare const JAVASCRIPT_FLAVORS_EXTENSIONS: string[];
export declare const EXTENSIONS_TO_STRIP_FROM_PACKAGES: string[];
export declare const EXTENSIONS_TO_REPLACE_TO_JS_IN_PACKAGES: string[];
export declare const EXTENSIONS_NOT_SUPPORT_DIRS: string[];
export declare function isSupportedExtension(filePath: string): boolean;
export declare function getLinkToFileContent(filePath: PathOsBased, importSpecifiers?: ImportSpecifier[]): string;
export declare function getLinkToPackageContent(filePath: PathOsBased, bitPackageName: string, importSpecifiers?: ImportSpecifier[]): string;