Skip to content

Commit

Permalink
Fix napi default (prebuild#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners-nr authored Feb 22, 2024
1 parent d6d6981 commit 5b2c606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.<br>Takes precedence over `--target`.
| `--napi` | - | `false` | Make [Node-API][node-api] build(s).<br>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).<br>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\*\*
Expand Down

0 comments on commit 5b2c606

Please sign in to comment.