From c835ec13d976feef9389f0edf6ca90424e11211d Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Thu, 29 Dec 2016 09:21:49 +0900 Subject: [PATCH] Rename project to tsProject --- gulpfile.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gulpfile.ts b/gulpfile.ts index a51c42743..a052d5eed 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -31,7 +31,7 @@ import { IConfig } from './src/config'; const config = eval(require('typescript').transpile(require('fs').readFileSync('./src/config.ts').toString())) ('.config/config.yml') as IConfig; -const project = ts.createProject('tsconfig.json'); +const tsProject = ts.createProject('tsconfig.json'); gulp.task('build', [ 'build:js', @@ -51,9 +51,9 @@ gulp.task('build:js', () => ); gulp.task('build:ts', () => - project + tsProject .src() - .pipe(project()) + .pipe(tsProject()) .pipe(babel({ presets: ['es2015', 'stage-3'] }))