refactor: make each tsconfig explicitly declare module and include/exclude (#7443)

This commit is contained in:
Joshua Chen 2022-05-18 12:48:28 +08:00 committed by GitHub
parent a0b0477dee
commit a555fd1dcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 223 additions and 47 deletions

View file

@ -1,6 +1,7 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"noEmit": false,
"composite": true,
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo-client",
@ -9,5 +10,6 @@
"rootDir": "src",
"outDir": "lib"
},
"include": ["src/client", "src/*.d.ts"]
"include": ["src/client", "src/*.d.ts"],
"exclude": ["**/__tests__/**"]
}

View file

@ -2,6 +2,7 @@
"extends": "../../tsconfig.json",
"references": [{"path": "./tsconfig.client.json"}],
"compilerOptions": {
"noEmit": false,
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"module": "commonjs",