Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit 79b0eeb

Browse files
committed
fix(transpile): get tsconfig.json location from config value
1 parent e2d0d83 commit 79b0eeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transpile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ let cachedProgram: ts.Program = null;
372372
let cachedTsConfig: TsConfig = null;
373373

374374
export function getTsConfigPath(context: BuildContext) {
375-
return path.join(context.rootDir, 'tsconfig.json');
375+
return process.env[Constants.ENV_TS_CONFIG];
376376
}
377377

378378
export interface TsConfig {

0 commit comments

Comments
 (0)