GeezerVison is showing github.com — src: namespace config file flags · nodejs/node@433657d
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/cli.md +10-8Lines changed: 10 additions & 8 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -936,17 +936,19 @@ with the following structure: |
936 | 936 | ```json |
937 | 937 | { |
938 | 938 | "$schema": "https://nodejs.org/dist/REPLACEME/docs/node_config_json_schema.json", |
939 | | - "experimental-transform-types": true, |
940 | | - "import": [ |
941 | | - "amaro/transform" |
942 | | - ], |
943 | | - "disable-warning": "ExperimentalWarning", |
944 | | - "watch-path": "src", |
945 | | - "watch-preserve-output": true |
| 939 | + "nodeOptions": { |
| 940 | + "experimental-transform-types": true, |
| 941 | + "import": [ |
| 942 | + "amaro/transform" |
| 943 | + ], |
| 944 | + "disable-warning": "ExperimentalWarning", |
| 945 | + "watch-path": "src", |
| 946 | + "watch-preserve-output": true |
| 947 | + } |
946 | 948 | } |
947 | 949 | ``` |
948 | 950 |
|
949 | | -Only flags that are allowed in [`NODE_OPTIONS`][] are supported. |
| 951 | +In the `nodeOptions` field, only flags that are allowed in [`NODE_OPTIONS`][] are supported. |
950 | 952 | No-op flags are not supported. |
951 | 953 | Not all V8 flags are currently supported. |
952 | 954 |
|
|