From 5dc63a7c7d52471fbf20a30152cd4738d94f047b Mon Sep 17 00:00:00 2001 From: d3v1l0n Date: Mon, 23 Dec 2024 22:17:16 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20perf:=20more=20interoperab?= =?UTF-8?q?le=20with=20various=20module=20systems?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsconfig.app.json | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/tsconfig.app.json b/tsconfig.app.json index f0a23505..66f51d88 100644 --- a/tsconfig.app.json +++ b/tsconfig.app.json @@ -5,20 +5,33 @@ "lib": ["ES2020", "DOM", "DOM.Iterable"], "module": "ESNext", "skipLibCheck": true, - - /* Bundler mode */ "moduleResolution": "bundler", "allowImportingTsExtensions": true, "isolatedModules": true, "moduleDetection": "force", "noEmit": true, "jsx": "react-jsx", - - /* Linting */ "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, - "noFallthroughCasesInSwitch": true + "noFallthroughCasesInSwitch": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "skipDefaultLibCheck": true, + "allowSyntheticDefaultImports": true, + "noImplicitAny": true, + "strictNullChecks": true, + "baseUrl": "./", + "paths": { + "components/*": ["src/components/*"], + "utils/*": ["src/utils/*"] + } }, - "include": ["src"] + "include": [ + "src" + ], + "exclude": [ + "node_modules", + "build" + ] }