Skip to content

Commit d3e48d6

Browse files
Enable incremental typescript builds (#4092)
FEATURE INTERNAL Enable incremental builds in the root tsconfig.json to increase build speed during development. For example, running `yarn build` in tfjs-backend-cpu takes ~43 seconds without incremental builds and ~30 seconds with incremental builds (after the first build). Co-authored-by: Ping Yu <[email protected]>
1 parent 3d701a8 commit d3e48d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"noUnusedParameters": false,
2222
"pretty": true,
2323
"noFallthroughCasesInSwitch": true,
24-
"allowUnreachableCode": false
24+
"allowUnreachableCode": false,
25+
"incremental": true
2526
},
2627
"include": [
2728
"src/"

0 commit comments

Comments
 (0)