summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGuy Bedford <guybedford@gmail.com>2019-10-07 00:09:20 -0400
committerRich Trott <rtrott@gmail.com>2019-10-10 16:29:08 -0700
commitb798f645667c0b60cab84c467713a21c5676998d (patch)
tree45377fa6dd8fbf4bf58a842af61672f04329a9d5 /doc
parent1294c7e48564a549ef391786b67798d29238aace (diff)
downloadandroid-node-v8-b798f645667c0b60cab84c467713a21c5676998d.tar.gz
android-node-v8-b798f645667c0b60cab84c467713a21c5676998d.tar.bz2
android-node-v8-b798f645667c0b60cab84c467713a21c5676998d.zip
esm: unflag --experimental-exports
PR-URL: https://github.com/nodejs/node/pull/29867 Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/cli.md8
-rw-r--r--doc/api/modules.md2
2 files changed, 1 insertions, 9 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md
index df7a6362ac..ce9845e648 100644
--- a/doc/api/cli.md
+++ b/doc/api/cli.md
@@ -158,13 +158,6 @@ the ability to import a directory that has an index file.
Please see [customizing esm specifier resolution][] for example usage.
-### `--experimental-exports`
-<!-- YAML
-added: v12.7.0
--->
-
-Enable experimental resolution using the `exports` field in `package.json`.
-
### `--experimental-json-modules`
<!-- YAML
added: v12.9.0
@@ -998,7 +991,6 @@ Node.js options that are allowed are:
* `--enable-fips`
* `--enable-source-maps`
* `--es-module-specifier-resolution`
-* `--experimental-exports`
* `--experimental-json-modules`
* `--experimental-loader`
* `--experimental-modules`
diff --git a/doc/api/modules.md b/doc/api/modules.md
index 9ed9273e0b..29f7b32cd6 100644
--- a/doc/api/modules.md
+++ b/doc/api/modules.md
@@ -202,7 +202,7 @@ NODE_MODULES_PATHS(START)
5. return DIRS
```
-If `--experimental-exports` is enabled, Node.js allows packages loaded via
+Node.js allows packages loaded via
`LOAD_NODE_MODULES` to explicitly declare which file paths to expose and how
they should be interpreted. This expands on the control packages already had
using the `main` field.