Open NMinhNguyen opened 2 years ago
Yes this is still an issue. Is there an easy fix for this?
bump
This also happens with pnpm: https://github.com/vitest-dev/vitest/issues/3112.
bump
FYI - Vitest no longer uses local-pkg as of version 2.0.0, and therefore, PnP issues are also gone.
I'm trying to use Vitest and I'm running into an issue with Yarn PnP:
I believe that this package needs to support
basedir
(similar toresolve
), and set thepaths
option ofrequire.resolve
:https://github.com/antfu/local-pkg/blob/fc9d06c5a43485d83f41ec35dfc842e1f6d45aa5/index.mjs#L51-L65