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/')) - ); -});