From d5d0a8e8f1d8d1e62365c58b027071b5d126def9 Mon Sep 17 00:00:00 2001 From: Artem Bulgakov Date: Fri, 27 Sep 2024 00:11:39 +0300 Subject: [PATCH] fix: split tsconfig for correct tsc build --- tsconfig.app.json | 23 +++++++++++++++++++++++ tsconfig.json | 27 +++++---------------------- 2 files changed, 28 insertions(+), 22 deletions(-) create mode 100644 tsconfig.app.json diff --git a/tsconfig.app.json b/tsconfig.app.json new file mode 100644 index 0000000..e01eeb7 --- /dev/null +++ b/tsconfig.app.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "target": "esnext", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "bundler", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "react-jsx", + "incremental": true, + "allowImportingTsExtensions": true, + "paths": { + "@/*": ["./src/*"], + "/public/*": ["./public/*"] + } + }, + "include": ["src"] +} diff --git a/tsconfig.json b/tsconfig.json index 744a455..a2efd46 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,24 +1,7 @@ { - "compilerOptions": { - "target": "esnext", - "lib": ["dom", "dom.iterable", "esnext"], - "allowJs": true, - "skipLibCheck": true, - "strict": true, - "noEmit": true, - "esModuleInterop": true, - "module": "esnext", - "moduleResolution": "bundler", - "resolveJsonModule": true, - "isolatedModules": true, - "jsx": "react-jsx", - "incremental": true, - "allowImportingTsExtensions": true, - "paths": { - "@/*": ["./src/*"], - "/public/*": ["./public/*"] - } - }, - "include": ["src"], - "references": [{ "path": "./tsconfig.node.json" }] + "references": [ + { "path": "./tsconfig.app.json" }, + { "path": "./tsconfig.node.json" } + ], + "files": [] }