Open Speykious opened 2 years ago
Falling back to nodeLinker: node-modules
makes it work again, but I would like to use nodeLinker: pnp
whenever possible.
I saw that apparently ncc
supports pnp
from https://github.com/vercel/ncc/pull/598, but that was on Yarn 2, which I didn't test myself... Should it just work on Yarn 3 and I'm missing something?
I'm making a Discord bot with Yarn 3 in Typescript.
ncc
has no problem with Typescript, but it seems that it doesn't account for PNP at all.If I try
yarn pnpify ncc build
, it just exists after doing nothing.If it helps, here's my
package.json
and my
tsconfig.json