Skip to content

Commit feb54f7

Browse files
authored
docs(package.json): add libc field (#7822)
1 parent 534ad77 commit feb54f7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/lib/content/configuring-npm/package-json.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,6 +1129,18 @@ Like the `os` option, you can also block architectures:
11291129
11301130
The host architecture is determined by `process.arch`
11311131
1132+
### libc
1133+
1134+
If your code only runs or builds in certain versions of libc, you can
1135+
specify which ones. This field only applies if `os` is `linux`.
1136+
1137+
```json
1138+
{
1139+
"os": "linux",
1140+
"libc": "glibc"
1141+
}
1142+
```
1143+
11321144
### devEngines
11331145
11341146
The `devEngines` field aids engineers working on a codebase to all be using the same tooling.

0 commit comments

Comments
 (0)