swc-node icon indicating copy to clipboard operation
swc-node copied to clipboard

@swc-node/[email protected] breaks for Yarn PnP

Open psychobolt opened this issue 1 year ago • 3 comments

As mentioned here, the changes to use oxc-resolver breaks projects that rely on Yarn PnP. I suggest we provide some fallback TS resolution for Yarn PnP.

psychobolt avatar Jul 08 '24 23:07 psychobolt

Waiting for https://github.com/oxc-project/oxc-resolver/issues/53

Brooooooklyn avatar Jul 09 '24 07:07 Brooooooklyn

I see that oxc-resolver PR is merged now 🤞

Or-Zarchi-Forter avatar Jul 08 '25 14:07 Or-Zarchi-Forter

It is merged, but it is not enabled by default. Actually there is fork and has a bunch support for unaddressed issues of oxc-resolver like enabling Yarn PnP: https://github.com/unrs/unrs-resolver

I suggest we migrate to that package.

psychobolt avatar Aug 01 '25 18:08 psychobolt