如果您不将 PnP 与 Yarn 2 一起使用,是否需要 `pnpify --sdk vscode`?

Is `pnpify --sdk vscode` needed if you aren't using PnP with Yarn 2?

我们正在慢慢开始使用 Yarn 2,并选择不使用即插即用功能。

Disable PnP Instructions

// .yarnrc.yml file

yarnPath: '.yarn/releases/yarn-berry.cjs'
nodeLinker: node-modules

我们还使用 VS Code 和 Yarn 2 迁移指南指出:

如果 PnP 被禁用,是否有必要这样做?我假设不是,但想检查一下。

不,node-modules 链接器不需要它