Fix for jsc.paths projects using pnpm
https://github.com/swc-project/swc/pull/7866 caused a problem for some projects because node_modules were excluded from the candidates even if the base file is also in the node_modules. This is fixed and it's now tested by using inlined node_modules.
Revert for a fix for jsc.paths in the previous version.
The resolving logic added in the previous version was too specific to node.js, and it's reverted.
About the author
- CEO of Delino. I created SWC, an open-source compiler project, and previously worked at Deno and Vercel.
Comments
Join the discussionNo comments yet. Be the first to comment.