Skip to content

Commit 6a905ab

Browse files
committed
feat(build): enable incremental compilation
1 parent a24e7c0 commit 6a905ab

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
@@ -13,6 +13,7 @@ benchmark/dist
1313
.sandbox
1414
packages/cli/generators/datasource/connectors.json
1515
docs/site/readmes
16+
**/tsconfig.build.tsbuildinfo
1617

1718
# Exclude all files under sandbox except README.md and example
1819
/sandbox/*

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)