Skip to content

Commit 3584dc3

Browse files
committed
Eliminate race condition in web-library-build, since api-extractor now cannot run until after tsc has completed
1 parent 5ac7aed commit 3584dc3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • core-build/web-library-build/src

core-build/web-library-build/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ tslint.mergeConfig({
5252
});
5353

5454
// Define default task groups.
55-
export const compileTsTasks: IExecutable = parallel(typescript, text, apiExtractor);
56-
export const buildTasks: IExecutable = task('build', serial(preCopy, sass, parallel(tslint, compileTsTasks), postCopy));
55+
export const compileTsTasks: IExecutable = parallel(typescript, text);
56+
export const buildTasks: IExecutable = task('build', serial(preCopy, sass, parallel(tslint, compileTsTasks), apiExtractor, postCopy));
5757
export const bundleTasks: IExecutable = task('bundle', serial(buildTasks, webpack));
5858
export const testTasks: IExecutable = task('test', serial(buildTasks, karma, jest));
5959
export const defaultTasks: IExecutable = serial(bundleTasks, karma, jest);

0 commit comments

Comments
 (0)