From 79b0eeb6cc1d421b58427ab3d5e330e45a47b23c Mon Sep 17 00:00:00 2001 From: Dan Bucholtz Date: Tue, 14 Feb 2017 23:16:26 -0600 Subject: [PATCH] fix(transpile): get tsconfig.json location from config value --- src/transpile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transpile.ts b/src/transpile.ts index 392127e5..36c6720f 100644 --- a/src/transpile.ts +++ b/src/transpile.ts @@ -372,7 +372,7 @@ let cachedProgram: ts.Program = null; let cachedTsConfig: TsConfig = null; export function getTsConfigPath(context: BuildContext) { - return path.join(context.rootDir, 'tsconfig.json'); + return process.env[Constants.ENV_TS_CONFIG]; } export interface TsConfig {