diff --git a/templates/app/gulpfile.babel(gulp).js b/templates/app/gulpfile.babel(gulp).js index be37130d9..16582400f 100644 --- a/templates/app/gulpfile.babel(gulp).js +++ b/templates/app/gulpfile.babel(gulp).js @@ -557,13 +557,16 @@ gulp.task('build', cb => { 'inject', 'wiredep:client',<% if(filters.ts) { %> 'typings',<% } %> + [ + 'transpile:client', + 'transpile:server' + ], [ 'build:images', 'copy:extras', 'copy:fonts', 'copy:assets', 'copy:server', - 'transpile:server', 'build:client' ], cb); @@ -571,7 +574,7 @@ gulp.task('build', cb => { gulp.task('clean:dist', () => del([`${paths.dist}/!(.git*|.openshift|Procfile)**`], {dot: true})); -gulp.task('build:client', ['transpile:client', 'styles', 'html', 'constant', 'build:images'], () => { +gulp.task('build:client', ['styles', 'html', 'constant', 'build:images'], () => { var manifest = gulp.src(`${paths.dist}/${clientPath}/assets/rev-manifest.json`); var appFilter = plugins.filter('**/app.js', {restore: true});