Skip to content

Commit 0e27d31

Browse files
committed
fix: build using node-gyp directly
The release flag has no effect on node-gyp-build. Use prebuildify for npm package only.
1 parent 266ebed commit 0e27d31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"tidy": "clang-tidy src/*.cc src/*.h",
1010
"tidy:fix": "clang-tidy src/*.cc src/*.h --fix --fix-errors",
1111
"native:clean": "shx rm -rf build prebuilds",
12-
"native:build": "node-gyp-build",
12+
"native:build": "node-gyp configure --release && node-gyp build --release",
1313
"native:build:debug": "node-gyp configure --debug && node-gyp build --debug",
1414
"native:prebuild": "prebuildify --napi -t 12.0.0 -t [email protected] --strip",
1515
"native:prebuild-ia32": "prebuildify --napi --arch=ia32 -t 12.0.0 -t [email protected] --strip",

0 commit comments

Comments
 (0)