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 ccee741

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

20 files changed

+697
-621
lines changed

‎doc/api/cli.md

Copy file name to clipboardExpand all lines: doc/api/cli.md
+10-8Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -958,17 +958,19 @@ with the following structure:
958958
```json
959959
{
960960
"$schema": "https://nodejs.org/dist/REPLACEME/docs/node_config_json_schema.json",
961-
"experimental-transform-types": true,
962-
"import": [
963-
"amaro/transform"
964-
],
965-
"disable-warning": "ExperimentalWarning",
966-
"watch-path": "src",
967-
"watch-preserve-output": true
961+
"nodeOptions": {
962+
"experimental-transform-types": true,
963+
"import": [
964+
"amaro/transform"
965+
],
966+
"disable-warning": "ExperimentalWarning",
967+
"watch-path": "src",
968+
"watch-preserve-output": true
969+
}
968970
}
969971
```
970972

971-
Only flags that are allowed in [`NODE_OPTIONS`][] are supported.
973+
In the `nodeOptions` field, only flags that are allowed in [`NODE_OPTIONS`][] are supported.
972974
No-op flags are not supported.
973975
Not all V8 flags are currently supported.
974976

0 commit comments

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