jsc.paths projects using
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
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.