From e9f3e7ae94d77894e73a6d810767aac0ec26a4b7 Mon Sep 17 00:00:00 2001 From: Arya Emami Date: Fri, 9 Feb 2024 06:31:15 -0600 Subject: [PATCH] Remove `baseUrl` from `tsconfig.base.json` --- packages/toolkit/tsconfig.base.json | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/packages/toolkit/tsconfig.base.json b/packages/toolkit/tsconfig.base.json index aad62c5c2c..a1981275f3 100644 --- a/packages/toolkit/tsconfig.base.json +++ b/packages/toolkit/tsconfig.base.json @@ -31,20 +31,14 @@ "downlevelIteration": false, "allowSyntheticDefaultImports": true, "emitDeclarationOnly": true, - "baseUrl": ".", "types": ["vitest/globals", "vitest/importMeta"], "paths": { - "@reduxjs/toolkit": ["src/index.ts"], // @remap-prod-remove-line - "@reduxjs/toolkit/react": ["src/react/index.ts"], // @remap-prod-remove-line - "@reduxjs/toolkit/query": ["src/query/index.ts"], // @remap-prod-remove-line - "@reduxjs/toolkit/query/react": ["src/query/react/index.ts"], // @remap-prod-remove-line - // for type imports in tests only - "@reduxjs/toolkit/dist/*": ["src/*"], // @remap-prod-remove-line - // for type imports in tests only - "@reduxjs/toolkit/dist/query/*": ["src/query/*"], // @remap-prod-remove-line + "@reduxjs/toolkit": ["./src/index.ts"], // @remap-prod-remove-line + "@reduxjs/toolkit/react": ["./src/react/index.ts"], // @remap-prod-remove-line + "@reduxjs/toolkit/query": ["./src/query/index.ts"], // @remap-prod-remove-line + "@reduxjs/toolkit/query/react": ["./src/query/react/index.ts"], // @remap-prod-remove-line // internal imports in tests only - "@internal/*": ["src/*"], - "react": ["node_modules/react"] + "@internal/*": ["./src/*"] } } }