Skip to content

Commit f0b496f

Browse files
mgechevChristian Dobert
authored and
Christian Dobert
committed
fix(makeTsProject): use proper tsconfig.json file (mgechev#1177)
Fix mgechev#1174
1 parent 61db88c commit f0b496f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/utils/seed/tsproject.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
import * as gulpLoadPlugins from 'gulp-load-plugins';
2+
import { join } from 'path';
3+
4+
import { APP_SRC } from '../../config';
25

36
const plugins = <any>gulpLoadPlugins();
47

@@ -14,7 +17,8 @@ export function makeTsProject(options: Object = {}) {
1417
let config = Object.assign({
1518
typescript: require('typescript')
1619
}, options);
17-
tsProjects[optionsHash] = plugins.typescript.createProject('tsconfig.json', config);
20+
tsProjects[optionsHash] =
21+
plugins.typescript.createProject(join(APP_SRC, 'tsconfig.json'), config);
1822
}
1923
return tsProjects[optionsHash];
2024
}

0 commit comments

Comments
 (0)