From b01c768ab834498a62e093c91f2ca48f14fae09e Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Thu, 5 Jan 2017 01:25:02 +0100 Subject: [PATCH] chore: gulp-typescript v3 detects typescript version * In gulp-typescript ~3.0.0 the `typescript` will be no longer included as a dependency. This means that it now automatically detects the current installed `typescript` version. See http://dev.ivogabe.com/gulp-typescript-3/ --- tools/gulp/task_helpers.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/gulp/task_helpers.ts b/tools/gulp/task_helpers.ts index 9bc71a0f4c56..5fcaeada1804 100644 --- a/tools/gulp/task_helpers.ts +++ b/tools/gulp/task_helpers.ts @@ -48,9 +48,7 @@ export function tsBuildTask(tsConfigPath: string, tsConfigName = 'tsconfig.json' const tsConfig: any = JSON.parse(fs.readFileSync(tsConfigPath, 'utf-8')); const dest: string = path.join(tsConfigDir, tsConfig['compilerOptions']['outDir']); - const tsProject = gulpTs.createProject(tsConfigPath, { - typescript: require('typescript') - }); + const tsProject = gulpTs.createProject(tsConfigPath); let pipe = tsProject.src() .pipe(gulpSourcemaps.init())