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

Commit

Permalink
fix(transpile): get tsconfig.json location from config value
Browse files Browse the repository at this point in the history
  • Loading branch information
danbucholtz committed Feb 15, 2017
1 parent e2d0d83 commit 79b0eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transpile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 79b0eeb

Please sign in to comment.