@modern-js/utils
Version:
A Progressive React Framework for modern web development.
6 lines (5 loc) • 358 B
TypeScript
import type { MatchPath } from '../../compiled/tsconfig-paths';
export declare const SOURCE_EXTENSIONS: string[];
export declare const JS_LIKE_EXTENSION_RE: RegExp;
export declare const findSourceEntry: (resolvedPath: string) => string | undefined;
export declare const findMatchedSourcePath: (matchPath: MatchPath, specifier: string) => string | undefined;