Skip to content

Commit

Permalink
src: namespace config file flags
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-ippolito committed Feb 21, 2025
1 parent 8fc919d commit 453c339
Show file tree
Hide file tree
Showing 20 changed files with 692 additions and 621 deletions.
18 changes: 10 additions & 8 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -928,17 +928,19 @@ with the following structure:
```json
{
"$schema": "https://nodejs.org/dist/REPLACEME/docs/node_config_json_schema.json",
"experimental-transform-types": true,
"import": [
"amaro/transform"
],
"disable-warning": "ExperimentalWarning",
"watch-path": "src",
"watch-preserve-output": true
"nodeOptions": {
"experimental-transform-types": true,
"import": [
"amaro/transform"
],
"disable-warning": "ExperimentalWarning",
"watch-path": "src",
"watch-preserve-output": true
}
}
```

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

Expand Down
Loading

0 comments on commit 453c339

Please sign in to comment.