Monorepo NextJs-NestJs, weird import issue

Whenever I try to import something from "connector" package in the apps VSCODE suggest me from "dist" local package folder I expected it imports from package installed "connector" which is installed using "connector":"workspace:*", it actually works but just writing import manually from "connector." I use pnpm. Something that I'm seeing is that if remove baseUrl from main tsconfig, it actually imports from package in the apps, but I lost the aliases paths Architecture picture attached
No description
No description
1 Reply
IvanRene
IvanRene5mo ago
nvm, just moved path aliases into their each individual tsconfig
Want results from more Discord servers?
Add your server