Switch on tsconfig composite (#9273)

This commit is contained in:
Jaco 2023-04-03 07:49:50 +03:00 committed by GitHub
parent 66c88bda80
commit ed5f9bc93e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions

View File

@ -1,7 +1,7 @@
{ {
"extends": "@polkadot/dev/config/tsconfig.json", "extends": "@polkadot/dev/config/tsconfig.json",
"compilerOptions": { "compilerOptions": {
"composite": false, "composite": true,
"paths": { "paths": {
"@polkadot/apps": ["apps/src/index.tsx"], "@polkadot/apps": ["apps/src/index.tsx"],
"@polkadot/apps/Root": ["apps/src/Root.tsx"], "@polkadot/apps/Root": ["apps/src/Root.tsx"],

View File

@ -2,6 +2,7 @@
"extends": "./tsconfig.base.json", "extends": "./tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"baseUrl": "./packages", "baseUrl": "./packages",
"composite": true,
"outDir": "./build", "outDir": "./build",
/* /*
* We have a couple of issues that forces us to disable this - * We have a couple of issues that forces us to disable this -

View File

@ -1,12 +1,12 @@
{ {
"extends": "./tsconfig.base.json", "extends": "./tsconfig.base.json",
"compilerOptions": {
"baseUrl": "./packages",
"composite": false
},
"exclude": [ "exclude": [
"build/**/*", "build/**/*",
"**/build/**/*", "**/build/**/*",
"**/node_modules/**/*" "**/node_modules/**/*"
], ]
"compilerOptions": {
"baseUrl": "./packages",
"composite": false
}
} }