justindra
12/28/2021, 11:58 PMsst build
the type-checking is type checking @types/react
in my node_modules
The setup is using Yarn Workspaces monorepo
(root)
+ infra
+ cdk (this is where SST is)
+ apps
+ admin (a react app)
+ web (another react app)
Any thoughts?Frank
tsconfig
. lemme check.Frank
exclude
field in ur tsconfig.json
like this:
{
...
"exclude": [
"./path/to/react/**/*"
]
}
Frank
justindra
12/29/2021, 12:09 AM"exclude": ["../../node_modules/**/*"]
But it doesn't seem to fix the issueFrank
thdxr
12/29/2021, 1:23 AMjustindra
12/29/2021, 5:01 AM@types/react
to the app folder instead and it seems to work that way. So I think it could be to do with the monorepojustindra
12/29/2021, 5:02 AM