From 5b2c60620daae74c8d1deb6e838d1ac7cceeac16 Mon Sep 17 00:00:00 2001 From: James Sumners Date: Thu, 22 Feb 2024 09:45:21 -0500 Subject: [PATCH] Fix napi default (#78) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0421337..2a5d4b4 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ Options can be provided via (in order of precedence) the programmatic API, the C |:---------------------|:---------------------|:-------------------------------|:------------ | `--target -t` | - | Depends. | One or more targets\* | `--all -a` | - | `false` | Build all known targets.
Takes precedence over `--target`. -| `--napi` | - | `false` | Make [Node-API][node-api] build(s).
Targets default to latest node which is compatible with Electron > 3, which can be overridden with `--target`. Note: `--all` should be avoided for now because it includes targets that don't support Node-API. +| `--napi` | - | `true` | Make [Node-API][node-api] build(s).
Targets default to latest node which is compatible with Electron > 3, which can be overridden with `--target`. Note: `--all` should be avoided for now because it includes targets that don't support Node-API. | `--electron-compat` | - | `false` | Make two Node-API builds, one for node and one for Electron. Useful if you support Electron <= 3. | `--debug` | - | `false` | Make Debug build(s) | `--arch` | `PREBUILD_ARCH` | [`os.arch()`]([os-arch]) | Target architecture\*\*