diff options
author | Guy Bedford <guybedford@gmail.com> | 2019-09-28 15:01:23 -0400 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-10-08 21:18:04 -0700 |
commit | c0437d2633fb523fbc97deb3f1731bbefa4a2e90 (patch) | |
tree | 853bac233e5c0b27ae7b8ccd92585c5667dfd4b7 /doc/api/cli.md | |
parent | cbd8d715b2286e5726e6988921f5c870cbf74127 (diff) | |
download | android-node-v8-c0437d2633fb523fbc97deb3f1731bbefa4a2e90.tar.gz android-node-v8-c0437d2633fb523fbc97deb3f1731bbefa4a2e90.tar.bz2 android-node-v8-c0437d2633fb523fbc97deb3f1731bbefa4a2e90.zip |
Revert "esm: remove experimental status from JSON modules"
This reverts commit ec8776da6fa77628e12718bb38cee687303d4137.
PR-URL: https://github.com/nodejs/node/pull/29754
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'doc/api/cli.md')
-rw-r--r-- | doc/api/cli.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index e0c2573882..df7a6362ac 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -165,6 +165,13 @@ added: v12.7.0 Enable experimental resolution using the `exports` field in `package.json`. +### `--experimental-json-modules` +<!-- YAML +added: v12.9.0 +--> + +Enable experimental JSON support for the ES Module loader. + ### `--experimental-modules` <!-- YAML added: v8.5.0 @@ -992,6 +999,7 @@ Node.js options that are allowed are: * `--enable-source-maps` * `--es-module-specifier-resolution` * `--experimental-exports` +* `--experimental-json-modules` * `--experimental-loader` * `--experimental-modules` * `--experimental-policy` |