88 task ,
99 watch
1010} from '@microsoft/gulp-core-build' ;
11- import { typescript , tslint , text } from '@microsoft/gulp-core-build-typescript' ;
11+ import { apiExtractor , typescript , tslint , text } from '@microsoft/gulp-core-build-typescript' ;
1212import { sass } from '@microsoft/gulp-core-build-sass' ;
1313import { karma } from '@microsoft/gulp-core-build-karma' ;
1414import { webpack } from '@microsoft/gulp-core-build-webpack' ;
@@ -35,7 +35,7 @@ const sourceMatch: string[] = [
3535] ;
3636
3737// Define default task groups.
38- export const compileTsTasks : IExecutable = parallel ( typescript , text ) ;
38+ export const compileTsTasks : IExecutable = parallel ( typescript , text , apiExtractor ) ;
3939export const buildTasks : IExecutable = task ( 'build' , serial ( preCopy , sass , parallel ( compileTsTasks , text ) , postCopy ) ) ;
4040export const bundleTasks : IExecutable = task ( 'bundle' , serial ( buildTasks , webpack ) ) ;
4141export const testTasks : IExecutable = serial ( sass , compileTsTasks , karma ) ;
@@ -47,9 +47,9 @@ export const generateShrinkwrapTask: GenerateShrinkwrapTask = new GenerateShrink
4747task ( 'validate-shrinkwrap' , validateShrinkwrapTask ) ;
4848task ( 'generate' , generateShrinkwrapTask ) ;
4949
50- task ( 'test' , serial ( sass , testTasks ) ) ;
50+ task ( 'test' , testTasks ) ;
5151
52- task ( 'test-watch' , watch ( sourceMatch , serial ( sass , compileTsTasks , karma ) ) ) ;
52+ task ( 'test-watch' , watch ( sourceMatch , testTasks ) ) ;
5353
5454// For watch scenarios like serve, make sure to exclude generated files from src (like *.scss.ts.)
5555task ( 'serve' ,
0 commit comments