From a482c0b29e7644d08246e32cab071dae2bd03edc Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Sun, 19 Jun 2016 17:40:45 +0300 Subject: [PATCH] Remove second tsc task from build --- build/tasks/build.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/tasks/build.js b/build/tasks/build.js index b51a3e35..73753fc3 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -41,6 +41,7 @@ gulp.task('copyDebug', () => { gulp.task('rebuild', function(done) { return runSequence( + 'tsc', 'inlineTemplates', 'bundle', 'concatDeps', @@ -81,7 +82,7 @@ gulp.task('tsc', function() { // .pipe(gulp.dest(config.tmp)); // } -gulp.task('inlineTemplates', ['tsc', 'sass'], function() { +gulp.task('inlineTemplates', ['sass'], function() { return gulp.src('.tmp/**/*.js', { base: './tmp' }) .pipe(replace(/'(.*?)\.css'/g, '\'$1.scss\'')) .pipe(inlineNg2Template({