Skip to content

Commit eec3108

Browse files
devversionkara
authored andcommitted
chore: gulp-typescript v3 detects typescript version (#2531)
1 parent 8470534 commit eec3108

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tools/gulp/task_helpers.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ export function tsBuildTask(tsConfigPath: string, tsConfigName = 'tsconfig.json'
4848
const tsConfig: any = JSON.parse(fs.readFileSync(tsConfigPath, 'utf-8'));
4949
const dest: string = path.join(tsConfigDir, tsConfig['compilerOptions']['outDir']);
5050

51-
const tsProject = gulpTs.createProject(tsConfigPath, {
52-
typescript: require('typescript')
53-
});
51+
const tsProject = gulpTs.createProject(tsConfigPath);
5452

5553
let pipe = tsProject.src()
5654
.pipe(gulpSourcemaps.init())

0 commit comments

Comments
 (0)