From ed5f9bc93e8f027a2e99c5f2303c73d800467183 Mon Sep 17 00:00:00 2001 From: Jaco Date: Mon, 3 Apr 2023 07:49:50 +0300 Subject: [PATCH] Switch on tsconfig composite (#9273) --- tsconfig.base.json | 2 +- tsconfig.build.json | 1 + tsconfig.eslint.json | 10 +++++----- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/tsconfig.base.json b/tsconfig.base.json index fb5368dc5a..4d3fb2b738 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1,7 +1,7 @@ { "extends": "@polkadot/dev/config/tsconfig.json", "compilerOptions": { - "composite": false, + "composite": true, "paths": { "@polkadot/apps": ["apps/src/index.tsx"], "@polkadot/apps/Root": ["apps/src/Root.tsx"], diff --git a/tsconfig.build.json b/tsconfig.build.json index 72592a84d7..463dc975dd 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -2,6 +2,7 @@ "extends": "./tsconfig.base.json", "compilerOptions": { "baseUrl": "./packages", + "composite": true, "outDir": "./build", /* * We have a couple of issues that forces us to disable this - diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json index 7fdc457a70..603d07ea6f 100644 --- a/tsconfig.eslint.json +++ b/tsconfig.eslint.json @@ -1,12 +1,12 @@ { "extends": "./tsconfig.base.json", + "compilerOptions": { + "baseUrl": "./packages", + "composite": false + }, "exclude": [ "build/**/*", "**/build/**/*", "**/node_modules/**/*" - ], - "compilerOptions": { - "baseUrl": "./packages", - "composite": false - } + ] }