diff --git a/lib/main.ts b/lib/main.ts index 89e27b6e..a758c0c0 100644 --- a/lib/main.ts +++ b/lib/main.ts @@ -219,7 +219,7 @@ module compile { getTsconfigSystem(typescript), path.resolve(projectDirectory), compilerOptions, - path.basename(tsConfigFileName)); + tsConfigFileName); rawConfig = parsed.raw; diff --git a/lib/project.ts b/lib/project.ts index 1941bf6c..a9674a51 100644 --- a/lib/project.ts +++ b/lib/project.ts @@ -126,7 +126,7 @@ function src(this: Project) { this.typescript.sys, path.resolve(this.projectDirectory), undefined, - path.basename(this.configFileName)); + this.configFileName); for (const error of errors) { console.log(error.messageText);