Prevent typescript errors from crashing

This commit is contained in:
Aya Morisawa 2019-01-29 16:13:11 +09:00
parent f0f5b32300
commit 7850d68dc2

View File

@ -47,6 +47,7 @@ gulp.task('build:ts', () => {
.src() .src()
.pipe(sourcemaps.init()) .pipe(sourcemaps.init())
.pipe(tsProject()) .pipe(tsProject())
.on('error', () => {})
.pipe(sourcemaps.write('.', { includeContent: false, sourceRoot: '../built' })) .pipe(sourcemaps.write('.', { includeContent: false, sourceRoot: '../built' }))
.pipe(gulp.dest('./built/')); .pipe(gulp.dest('./built/'));
}); });