From d53fb1661e879741c1662c2d111d83616541e0b5 Mon Sep 17 00:00:00 2001 From: Rowee13 Date: Wed, 15 Apr 2026 15:44:01 +0800 Subject: [PATCH] chore(web): simplify web tsconfig, drop redundant baseUrl baseUrl was "." which is the default anchor for paths in TypeScript 5.0+, so removing it changes nothing at resolution time while making the config less noisy. Formatting also normalized (4-space indent, compacted arrays). Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/web/tsconfig.json | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json index 2fa199a..11cd5bd 100644 --- a/apps/web/tsconfig.json +++ b/apps/web/tsconfig.json @@ -1,22 +1,15 @@ { - "extends": "@repo/typescript-config/nextjs.json", - "compilerOptions": { - "plugins": [ - { - "name": "next" - } - ], - "baseUrl": ".", - "paths": { - "@/*": ["./*"] - } - }, - "include": [ - "**/*.ts", - "**/*.tsx", - "next-env.d.ts", - "next.config.ts", - ".next/types/**/*.ts" - ], - "exclude": ["node_modules"] + "extends": "@repo/typescript-config/nextjs.json", + "compilerOptions": { + "plugins": [ + { + "name": "next" + } + ], + "paths": { + "@/*": ["./*"] + } + }, + "include": ["**/*.ts", "**/*.tsx", "next-env.d.ts", "next.config.ts", ".next/types/**/*.ts"], + "exclude": ["node_modules"] }