aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2017-07-12 00:47:10 +0200
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2017-07-12 00:47:10 +0200
commit4c3360c3fb9a99203347e5efb217beefe4ce63b8 (patch)
tree7a12ea6edc9e679386aaba661d29f686c9921e0a /templates
parent9a836ca37bcbc63c0cdf1ae8dbbfa43a85f7513f (diff)
Adding platform and abi tags in our node-pre-gyp.
Allows to use more than one runtime. Should fix #8887 and #10558.
Diffstat (limited to 'templates')
-rw-r--r--templates/package.json.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/package.json.template b/templates/package.json.template
index af13d528db..50893d3a54 100644
--- a/templates/package.json.template
+++ b/templates/package.json.template
@@ -58,7 +58,7 @@
},
"binary": {
"module_name": "grpc_node",
- "module_path": "src/node/extension_binary",
+ "module_path": "src/node/extension_binary/{node_abi}-{platform}-{arch}",
"host": "https://storage.googleapis.com/",
"remote_path": "grpc-precompiled-binaries/node/{name}/v{version}",
"package_name": "{node_abi}-{platform}-{arch}.tar.gz"