diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/cli.md | 8 | ||||
-rw-r--r-- | doc/api/modules.md | 2 |
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. |