We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61db88c commit f0b496fCopy full SHA for f0b496f
tools/utils/seed/tsproject.ts
@@ -1,4 +1,7 @@
1
import * as gulpLoadPlugins from 'gulp-load-plugins';
2
+import { join } from 'path';
3
+
4
+import { APP_SRC } from '../../config';
5
6
const plugins = <any>gulpLoadPlugins();
7
@@ -14,7 +17,8 @@ export function makeTsProject(options: Object = {}) {
14
17
let config = Object.assign({
15
18
typescript: require('typescript')
16
19
}, options);
- tsProjects[optionsHash] = plugins.typescript.createProject('tsconfig.json', config);
20
+ tsProjects[optionsHash] =
21
+ plugins.typescript.createProject(join(APP_SRC, 'tsconfig.json'), config);
22
}
23
return tsProjects[optionsHash];
24
0 commit comments