Files
payloadcms/packages/next/tsconfig.json
Alessio Gravili f5c13deb24 build: fix tsconfig monorepo setup (#10028)
Should fix messed up import suggestions and simplifies all tsconfigs
through inheritance.

One main issue was that packages were inheriting `baseURL: "."` from the
root tsconfig. This caused incorrect import suggestions that start with
"packages/...".

This PR ensures that packages do not inherit this baseURL: "." property,
while ensuring the root, non-inherited tsconfig still keeps it to get
tests to work (the importMap needs it)
2024-12-17 14:49:29 -05:00

10 lines
186 B
JSON

{
"extends": "../../tsconfig.base.json",
"references": [
{ "path": "../payload" },
{ "path": "../ui" },
{ "path": "../translations" },
{ "path": "../graphql" }
]
}