Skip to content

Commit d5e9b04

Browse files
committed
Add arch flag for universal mac builds
1 parent 0f1e770 commit d5e9b04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"clean": "cmake-js clean",
99
"patch": "node ./patch-packagename.js",
1010
"build:debug": "cmake-js rebuild --debug",
11-
"build:release": "cmake-js rebuild",
11+
"build:release": "cmake-js rebuild --CDCMAKE_OSX_ARCHITECTURES=\"arm64;x86_64\"",
1212
"prepublishOnly": "npm run build:release",
1313
"publish:next": "npm publish --tag next"
1414
},

0 commit comments

Comments
 (0)