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
1 Reply
nvm, just moved path aliases into their each individual tsconfig