Skip to content

Commit 91b5aaa

Browse files
committed
feat(build): enable incremental compilation
Signed-off-by: Miroslav Bajtoš <[email protected]>
1 parent 3221d9f commit 91b5aaa

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ packages/tsdocs/fixtures/monorepo/docs
1616
/docs/site/readmes
1717
/docs/apidocs/reports-temp
1818
/docs/apidocs/models
19+
*.tsbuildinfo
1920

2021
# TBD: Exclude api reports from git for now
2122
/docs/apidocs/reports

packages/build/config/tsconfig.common.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
// FIXME(bajtos) LB4 is not compatible with this setting yet
1111
"strictPropertyInitialization": false,
1212

13+
"incremental": true,
14+
1315
"lib": ["es2018", "esnext.asynciterable"],
1416
"module": "commonjs",
1517
"moduleResolution": "node",

packages/cli/generators/project/templates/tsconfig.json.ejs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
"resolveJsonModule": true,
1818
"skipLibCheck": true,
1919
20+
"incremental": true,
21+
2022
"lib": ["es2018", "esnext.asynciterable"],
2123
"module": "commonjs",
2224
"moduleResolution": "node",

0 commit comments

Comments
 (0)