We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93dcbcb commit bb850dfCopy full SHA for bb850df
packages/ferric/src/cargo.ts
@@ -2,6 +2,7 @@ import assert from "node:assert/strict";
2
import cp from "node:child_process";
3
import fs from "node:fs";
4
import path from "node:path";
5
+import { fileURLToPath } from "node:url";
6
7
import { spawn } from "bufout";
8
import chalk from "chalk";
@@ -14,9 +15,9 @@ import {
14
15
isAppleTarget,
16
} from "./targets.js";
17
-const WEAK_NODE_API_PATH = new URL(
18
+const WEAK_NODE_API_PATH = fileURLToPath(
19
import.meta.resolve("react-native-node-api/weak-node-api")
-).pathname;
20
+);
21
22
const APPLE_XCFRAMEWORK_CHILDS_PER_TARGET: Record<AppleTargetName, string> = {
23
"aarch64-apple-darwin": "macos-arm64_x86_64", // Universal
0 commit comments