Open
Description
The npm package size of unrs-resolver
is significantly larger than oxc-resolver
because we enable yarn_pnp
feature flag by default: styfle/packagephobia#1074 (comment)
oxc-resolver
shows1.08MB
,unrs-resolver
shows3.25MB
.
By the way, @rspack/resolver
shows 2.83MB
I'm not sure whether we are using any non-native-pnp features(pnpapi
) inside, if there is nothing special used, can we just use the pnpapi
module instead in the napi binding and disable the yarn_pnp
feature flag by default just like oxc-resolver
? All I can find is
Lines 995 to 1002 in b8afa6b
Metadata
Metadata
Assignees
Labels
No labels