diff --git a/src/compiler.ts b/src/compiler.ts index d910f99b57..04cf6a8273 100644 --- a/src/compiler.ts +++ b/src/compiler.ts @@ -162,6 +162,7 @@ export function createCompiler(configs: ConfigSet): TsCompiler { readDirectory: ts.sys.readDirectory, getDirectories: ts.sys.getDirectories, directoryExists: ts.sys.directoryExists, + realpath: ts.sys.realpath, getNewLine: () => '\n', getCurrentDirectory: () => cwd, getCompilationSettings: () => compilerOptions,