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 bb93132 commit 13e15a4Copy full SHA for 13e15a4
scripts/patch-package.js
@@ -16,6 +16,7 @@ function patchPackageJSON_preNodeGyp_modulePath(filePath)
16
binaryPathConfiguration = binaryPathConfiguration.replace(/\{platform\}/g, "platform");
17
binaryPathConfiguration = binaryPathConfiguration.replace(/\{arch\}/g, "arch");
18
binaryPathConfiguration = binaryPathConfiguration.replace(/\{target_arch\}/g, "target_arch");
19
+ binaryPathConfiguration = binaryPathConfiguration.replace(/\{libc\}/g, "libc");
20
packageJSON.binary.module_path = binaryPathConfiguration;
21
let packageWriteData = JSON.stringify(packageJSON, null, 2);
22
fs.writeFileSync(filePath, packageWriteData);
0 commit comments