Skip to content

Commit

Permalink
doc: remove experimental modules flag
Browse files Browse the repository at this point in the history
  • Loading branch information
iam-frankqiu committed Oct 27, 2021
1 parent e55ab89 commit 7b26d20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 0 additions & 9 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,14 +295,6 @@ added: v9.0.0
Specify the `module` of a custom experimental [ECMAScript Module loader][].
`module` may be either a path to a file, or an ECMAScript Module name.

### `--experimental-modules`

<!-- YAML
added: v8.5.0
-->

Enable latest experimental modules features (deprecated).

### `--experimental-policy`

<!-- YAML
Expand Down Expand Up @@ -1563,7 +1555,6 @@ Node.js options that are allowed are:
* `--experimental-import-meta-resolve`
* `--experimental-json-modules`
* `--experimental-loader`
* `--experimental-modules`
* `--experimental-policy`
* `--experimental-specifier-resolution`
* `--experimental-top-level-await`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ assert(undocumented.delete('--no-node-snapshot'));
assert(undocumented.delete('--loader'));
assert(undocumented.delete('--verify-base-objects'));
assert(undocumented.delete('--no-verify-base-objects'));
assert(undocumented.delete('--experimental-modules'));
assert(undocumented.delete('--no-experimental-modules'));

// Remove negated versions of the flags.
for (const flag of undocumented) {
Expand Down

0 comments on commit 7b26d20

Please sign in to comment.