Clean build directory before tsc task
This commit is contained in:
parent
ee9ebcc70c
commit
1d19687a4e
@ -89,6 +89,8 @@ gulp.task('scss', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('tsc', () => {
|
gulp.task('tsc', () => {
|
||||||
|
del('build/');
|
||||||
|
|
||||||
let tsProject = tsc.createProject('tsconfig.json'),
|
let tsProject = tsc.createProject('tsconfig.json'),
|
||||||
tsResult = tsProject.src()
|
tsResult = tsProject.src()
|
||||||
.pipe(tsc(tsProject));
|
.pipe(tsc(tsProject));
|
||||||
|
Reference in New Issue
Block a user