pnpm 不在本地使用软连接的配置

  • 159 字
  • 次阅读

需要

1
node-linker=hoisted

可以写到 .npmrc

不过我是全局 pnpm config set node-linker hoisted,虽然 AI 告诉我这个违背了 pnpm 的初衷。

我目前不了解这个概念 幻影依赖(Phantom Dependencies)。hoisted 会有这个问题。

打赏
打赏提示信息
分享
分享提示信息