Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f9c75e7

Browse files
authoredAug 5, 2016
Merge pull request #2120 from angular-fullstack/typings-build
Typings build
2 parents ac0648f + 3707203 commit f9c75e7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎templates/app/gulpfile.babel.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ gulp.task('webpack:dist', function() {
236236
const webpackDistConfig = makeWebpackConfig({ BUILD: true });
237237
return gulp.src(webpackDistConfig.entry.app)
238238
.pipe(webpack(webpackDistConfig))
239+
.on('error', (err) => {
240+
this.emit('end'); // Recover from errors
241+
})
239242
.pipe(gulp.dest(`${paths.dist}/client`));
240243
});
241244

@@ -491,8 +494,8 @@ gulp.task('build', cb => {
491494
'inject',
492495
'transpile:server',
493496
[
494-
'build:images',
495-
'typings'
497+
'build:images'<% if(filters.ts) { %>,
498+
'typings'<% } %>
496499
],
497500
[
498501
'copy:extras',

0 commit comments

Comments
 (0)