This attempts to fix #4 by attempting to match files without the trailing slash before falling back to files beneath a matching directory.
I've created a repo ts-pnp-bugs reproducing these bugs with a couple major libraries (aws-sdk and lodash/fp), and tested these changes against that repo. I have a medium-sized workspace I'm attempting to migrate to Yarn 2 + PnP and these changes unblock me.
This attempts to fix #4 by attempting to match files without the trailing slash before falling back to files beneath a matching directory.
I've created a repo ts-pnp-bugs reproducing these bugs with a couple major libraries (aws-sdk and lodash/fp), and tested these changes against that repo. I have a medium-sized workspace I'm attempting to migrate to Yarn 2 + PnP and these changes unblock me.