MCPcopy Create free account
hub / github.com/TypeStrong/ts-node / resolveAndLoadCompiler

Function resolveAndLoadCompiler

src/configuration.ts:336–343  ·  view source on GitHub ↗
(
  name: string | undefined,
  relativeToPath: string
)

Source from the content-addressed store, hash-verified

334 * @internal
335 */
336export 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
345function resolveCompiler(name: string | undefined, relativeToPath: string) {
346 const projectLocalResolveHelper =

Callers 1

findAndReadConfigFunction · 0.85

Calls 2

resolveCompilerFunction · 0.85
loadCompilerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…