( name: string | undefined, relativeToPath: string )
| 334 | * @internal |
| 335 | */ |
| 336 | export function resolveAndLoadCompiler( |
| 337 | name: string | undefined, |
| 338 | relativeToPath: string |
| 339 | ) { |
| 340 | const { compiler } = resolveCompiler(name, relativeToPath); |
| 341 | const ts = loadCompiler(compiler); |
| 342 | return { compiler, ts }; |
| 343 | } |
| 344 | |
| 345 | function resolveCompiler(name: string | undefined, relativeToPath: string) { |
| 346 | const projectLocalResolveHelper = |
no test coverage detected
searching dependent graphs…