Skip to content

Commit f8a79c2

Browse files
committed
doc: --input-type default & limitations
1 parent a628dda commit f8a79c2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/api/cli.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,6 +1028,11 @@ Valid values are `"commonjs"` and `"module"`. The default is `"commonjs"`.
10281028

10291029
The REPL does not support this option.
10301030

1031+
Additional details:
1032+
1033+
* Default input type can be altered with [`--experimental-default-type=module`][]
1034+
* [`--print`][] does not support `--input-type=module`
1035+
10311036
### `--insecure-http-parser`
10321037

10331038
<!-- YAML
@@ -2810,6 +2815,7 @@ done
28102815
[`--import`]: #--importmodule
28112816
[`--openssl-config`]: #--openssl-configfile
28122817
[`--preserve-symlinks`]: #--preserve-symlinks
2818+
[`--print`]: #-p---print-script
28132819
[`--redirect-warnings`]: #--redirect-warningsfile
28142820
[`--require`]: #-r---require-module
28152821
[`Atomics.wait()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Atomics/wait

0 commit comments

Comments
 (0)