From 3a8abc43d2d840d2b514a1f16f8b2f7f9c0f51b1 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 11 Dec 2016 23:25:52 +0900 Subject: [PATCH] Clean up --- gulpfile.js | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 2bc47af..1be8171 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -7,12 +7,7 @@ const es = require('event-stream'); const project = ts.createProject('tsconfig.json'); -gulp.task('build', [ - 'build:ts', - 'build:copy' -]); - -gulp.task('build:ts', () => { +gulp.task('build', () => { const tsResult = project .src() .pipe(project()); @@ -26,11 +21,3 @@ gulp.task('build:ts', () => { tsResult.dts.pipe(gulp.dest('./built/')) ); }); - -gulp.task('build:copy', () => { - return es.merge( - gulp.src([ - './src/**/*.pug' - ]).pipe(gulp.dest('./built/')) - ); -});