-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: add preferDev and update preferGlobal
- Loading branch information
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The host operating system is determined by
process.platform
It is allowed to both blacklist, and whitelist, although there isn't any
good reason to do this.
cpu
If your code only runs on certain cpu architectures,
you can specify which ones.
"cpu" : [ "x64", "ia32" ]
Like the
os
option, you can also blacklist architectures:"cpu" : [ "!arm", "!mips" ]
The host architecture is determined by
process.arch