(packageDirAbsPath: string)
| 10 | * specified local packages directory. |
| 11 | */ |
| 12 | export function createLocalAngularPackageImporter(packageDirAbsPath: string): FileImporter { |
| 13 | return { |
| 14 | findFileUrl: (url: string) => { |
| 15 | if (url.startsWith(angularPrefix)) { |
| 16 | return pathToFileURL(join(packageDirAbsPath, url.substring(angularPrefix.length))) as URL; |
| 17 | } |
| 18 | return null; |
| 19 | }, |
| 20 | }; |
| 21 | } |
no outgoing calls
no test coverage detected