diff --git a/.gitignore b/.gitignore index f62f570e7480..fa6ce59fa300 100644 --- a/.gitignore +++ b/.gitignore @@ -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/* diff --git a/packages/build/config/tsconfig.common.json b/packages/build/config/tsconfig.common.json index 5aa85c2b0b3b..a3791d4ccf47 100644 --- a/packages/build/config/tsconfig.common.json +++ b/packages/build/config/tsconfig.common.json @@ -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", diff --git a/packages/cli/generators/project/templates/tsconfig.json.ejs b/packages/cli/generators/project/templates/tsconfig.json.ejs index 8ffddb55b332..18efabbcecf0 100644 --- a/packages/cli/generators/project/templates/tsconfig.json.ejs +++ b/packages/cli/generators/project/templates/tsconfig.json.ejs @@ -17,6 +17,8 @@ "resolveJsonModule": true, "skipLibCheck": true, + "incremental": true, + "lib": ["es2018", "esnext.asynciterable"], "module": "commonjs", "moduleResolution": "node",