tsconfig-paths
Version:
Load node modules according to tsconfig paths, in run-time or via API.
25 lines (24 loc) • 522 B
text/typescript
// register is used from register.js in root dir
export {
createMatchPath,
matchFromAbsolutePaths,
MatchPath,
} from "./match-path-sync";
export {
createMatchPathAsync,
matchFromAbsolutePathsAsync,
MatchPathAsync,
} from "./match-path-async";
export { register } from "./register";
export {
loadConfig,
ConfigLoaderResult,
ConfigLoaderSuccessResult,
ConfigLoaderFailResult,
} from "./config-loader";
export {
ReadJsonSync,
ReadJsonAsync,
FileExistsSync,
FileExistsAsync,
} from "./filesystem";