Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 433657d

Browse filesBrowse files
marco-ippolitotargos
authored andcommitted
src: namespace config file flags
PR-URL: #57170 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it>
1 parent d8937f1 commit 433657d
Copy full SHA for 433657d
Expand file treeCollapse file tree

20 files changed

+688
-621
lines changed
Open diff view settings
Collapse file

‎doc/api/cli.md‎

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 numberDiff line numberDiff line change
@@ -936,17 +936,19 @@ with the following structure:
936936
```json
937937
{
938938
"$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+
}
946948
}
947949
```
948950

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.
950952
No-op flags are not supported.
951953
Not all V8 flags are currently supported.
952954

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.