UNPKG

jsm-core

Version:
19 lines (18 loc) 829 B
/** * Resolve scheduler files based on the current environment. * - Looks for `.scheduler.ts` in development and `.scheduler.js` in production. * - The pattern should be relative to the `src` directory. */ export declare function resolveFiles(pattern: string): string[]; /** * Resolve module path based on the current environment. * - Looks for `.ts` in development and `.js` in production. * - The path should be relative to the `src` directory. */ export declare function resolveModulePath(modulePath: string): string | undefined; /** * Resolve module entry file based on the current environment. * - Looks for `main.ts` in development and `main.js` in production. * - The path should be relative to the `src/modules` directory. */ export declare function resolveModuleEntryFile(module: string): string | undefined;