There was an error while loading. Please reload this page.
1 parent 828ef00 commit 793211eCopy full SHA for 793211e
1 file changed
src/Compiler.ts
@@ -60,7 +60,7 @@ function compile(fileNames: string[], options: ts.CompilerOptions): void {
60
61
let outPath = sourceFile.fileName;
62
if (options.outDir !== options.rootDir) {
63
- outPath = path.join(options.outDir, sourceFile.fileName.replace(rootDir, ""));
+ outPath = path.join(options.outDir, path.resolve(sourceFile.fileName).replace(rootDir, ""));
64
}
65
66
// change extension
0 commit comments