Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Farias <bradley.meck@gmail.com>2020-11-30 19:03:30 +0300
committerRich Trott <rtrott@gmail.com>2022-02-10 06:47:12 +0300
commitceadb473e6d3a22f38b737108fb5ac943bf8be09 (patch)
tree183acc918ce5dcf7d36e97adbdda96b3c594a57c /doc/api/cli.md
parent52b1904a0dd4fe28cc7d62a9389892dedb0b1df2 (diff)
esm: support https remotely and http locally under flag
Co-authored-by: Jacob Smith <3012099+JakobJingleheimer@users.noreply.github.com> Co-authored-by: James M Snell <jasnell@gmail.com> Co-authored-by: Jordan Harband <ljharb@gmail.com> Co-authored-by: James Sumners <james@sumners.email> PR-URL: https://github.com/nodejs/node/pull/36328 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Diffstat (limited to 'doc/api/cli.md')
-rw-r--r--doc/api/cli.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md
index 26f14ecde8c..f4b4d2730e7 100644
--- a/doc/api/cli.md
+++ b/doc/api/cli.md
@@ -307,6 +307,16 @@ added: v9.0.0
Specify the `module` of a custom experimental [ECMAScript module loader][].
`module` may be any string accepted as an [`import` specifier][].
+### `--experimental-network-imports`
+
+<!-- YAML
+added: REPLACEME
+-->
+
+> Stability: 1 - Experimental
+
+Enable experimental support for the `https:` protocol in `import` specifiers.
+
### `--experimental-policy`
<!-- YAML
@@ -1574,6 +1584,7 @@ Node.js options that are allowed are:
* `--experimental-json-modules`
* `--experimental-loader`
* `--experimental-modules`
+* `--experimental-network-imports`
* `--experimental-policy`
* `--experimental-specifier-resolution`
* `--experimental-top-level-await`