Fix missing PnP linkers if node_modules exists
This can happen because some tools write to `node_modules/.cache` as a convention.
This commit is contained in:
@@ -325,6 +325,8 @@ export default async (
|
||||
ISOLATED: isolatedCode.join("\n"),
|
||||
ISOLATED_INTEGRATION: indent(" ", isolatedIntegration.join("\n")),
|
||||
NEED_ISOLATED_BUILD_SUPPRORT: isolatedIntegration.length > 0,
|
||||
USES_PNP_LINKER: configuration.get("nodeLinker") === "pnp",
|
||||
USES_NM_LINKER: configuration.get("nodeLinker") === "node-modules",
|
||||
});
|
||||
await xfs.writeFilePromise(nixExprPath, projectExpr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user