diff options
author | Myles Borins <mylesborins@google.com> | 2019-11-27 01:54:23 -0500 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2019-12-04 13:21:41 -0800 |
commit | ee953d813be1fb19930e0e64196c0aa33699b133 (patch) | |
tree | 2b11d0315bcbb33ee26ad333a798ff012da696fa /doc/node.1 | |
parent | 12254ce242c30d403b523ad9adb60a0280080957 (diff) | |
download | node-new-ee953d813be1fb19930e0e64196c0aa33699b133.tar.gz |
esm: make specifier flag clearly experimental
`--es-module-specifier-resolution` is the only flagged portion of the
ESM implementation that does not have the word experimental in the flag
name. This commit changes the flag to:
`--experimental-specifier-resolution`
`--es-module-specifier-resolution` remains as an alias for backwards
compatibility but it is no longer documented.
PR-URL: https://github.com/nodejs/node/pull/30678
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Diffstat (limited to 'doc/node.1')
-rw-r--r-- | doc/node.1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/node.1 b/doc/node.1 index 714772336e..5f98ba7091 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -110,9 +110,6 @@ Enable FIPS-compliant crypto at startup. Requires Node.js to be built with .Sy ./configure --openssl-fips . . -.It Fl -es-module-specifier-resolution -Select extension resolution algorithm for ES Modules; either 'explicit' (default) or 'node' -. .It Fl -experimental-conditional-exports Enable experimental support for "require" and "node" conditional export targets. . @@ -130,6 +127,9 @@ Enable experimental top-level .Sy await keyword support in REPL. . +.It Fl -experimental-specifier-resolution +Select extension resolution algorithm for ES Modules; either 'explicit' (default) or 'node' +. .It Fl -experimental-report Enable experimental .Sy diagnostic report |