We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff0f2ab commit 64ed3d8Copy full SHA for 64ed3d8
lib/bindings.js
@@ -1,6 +1,6 @@
1
'use strict'
2
3
-const bindings = require('../build/Release/canvas.node')
+const bindings = require('../build/Release/napi-v7/canvas.node')
4
5
module.exports = bindings
6
package.json
@@ -37,10 +37,11 @@
37
},
38
"binary": {
39
"module_name": "canvas",
40
- "module_path": "build/Release",
+ "module_path": "build/Release/napi-v{napi_build_version}",
41
"host": "https://github.com/Automattic/node-canvas/releases/download/",
42
"remote_path": "v{version}",
43
- "package_name": "{module_name}-v{version}-{node_abi}-{platform}-{libc}-{arch}.tar.gz"
+ "napi_versions": [7],
44
+ "package_name": "{module_name}-v{napi_build_version}-{platform}-{libc}-{arch}.tar.gz"
45
46
"files": [
47
"binding.gyp",
0 commit comments