Fix dependency resolution when using pnpm#774
Fix dependency resolution when using pnpm#774johnnyreilly merged 3 commits intoTypeStrong:masterfrom weichensw:pnpm
Conversation
|
I attempted to create a
After So in order to create a unit test I would need to include a real npm package that exhibits this re-export behavior, one that I know of is |
|
@xbtsw the way pnpm currently works, it only symlinks directory dependencies but does not run install in the external package. Though you can run |
|
It turns out to be using a folder dependency cannot trigger the error. The dependencies needs to be downloaded from a remote repository. |
I am okay with that! Go forth and conquer! |
|
@johnnyreilly The test is added. I am ready to merge. Please kindly review and comment 🤝 |
|
Will do! I'm away from a keyboard for the next 5 days or so. Will check when I'm back. Thanks for your work! |
|
Thanks for your work! Released with https://github.com/TypeStrong/ts-loader/releases/tag/v4.3.0 |
realpathtomoduleResolutionHostso that TypeScript could follow symlink as it supposed to beFix #768