Skip to content

Commit 4652005

Browse files
committed
build: specify Node 20 (LTS) for prebuildify
1 parent 6b9e725 commit 4652005

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
"scripts": {
5454
"install": "node-gyp-build",
5555
"build": "prebuildify --napi --strip",
56-
"build_x64": "prebuildify --napi --strip --arch x64",
57-
"build_arm64": "prebuildify --napi --strip --arch arm64",
56+
"build_x64": "prebuildify --napi --strip --arch x64 --target 20.9.0",
57+
"build_arm64": "prebuildify --napi --strip --arch arm64 --target 20.9.0",
5858
"rebuild": "node-gyp rebuild",
5959
"test": "node -e \"require('child_process').spawnSync('node', ['--test', ...require('glob').sync('test/**/*.js')], {stdio:'inherit'})\""
6060
},

0 commit comments

Comments
 (0)