mcporter/src/config-imports.ts
2025-11-17 20:31:55 +01:00

13 lines
410 B
TypeScript

import { pathToFileURL } from 'node:url';
import { readExternalEntries } from './config/imports/external.js';
import { pathsForImport } from './config/imports/paths.js';
import type { ImportKind, RawEntry } from './config-schema.js';
export { pathsForImport, readExternalEntries };
export function toFileUrl(filePath: string): URL {
return pathToFileURL(filePath);
}
export type { ImportKind, RawEntry };