Skip to content

Commit

Permalink
feat(build): enable incremental compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
bajtos committed May 21, 2019
1 parent a24e7c0 commit 6a905ab
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ benchmark/dist
.sandbox
packages/cli/generators/datasource/connectors.json
docs/site/readmes
**/tsconfig.build.tsbuildinfo

# Exclude all files under sandbox except README.md and example
/sandbox/*
Expand Down
2 changes: 2 additions & 0 deletions packages/build/config/tsconfig.common.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
// FIXME(bajtos) LB4 is not compatible with this setting yet
"strictPropertyInitialization": false,

"incremental": true,

"lib": ["es2018", "esnext.asynciterable"],
"module": "commonjs",
"moduleResolution": "node",
Expand Down
2 changes: 2 additions & 0 deletions packages/cli/generators/project/templates/tsconfig.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
"resolveJsonModule": true,
"skipLibCheck": true,
"incremental": true,
"lib": ["es2018", "esnext.asynciterable"],
"module": "commonjs",
"moduleResolution": "node",
Expand Down

0 comments on commit 6a905ab

Please sign in to comment.