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/*"] } } }