Skip to content

Commit

Permalink
doc: --input-type default & limitations
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham9411 committed Nov 18, 2023
1 parent a628dda commit d1ca25c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -1028,6 +1028,10 @@ Valid values are `"commonjs"` and `"module"`. The default is `"commonjs"`.

The REPL does not support this option.

Additional details:
* Default input type can be altered with [`--experimental-default-type=module`][]
* [`--print`][] does not support `--input-type=module`

### `--insecure-http-parser`

<!-- YAML
Expand Down Expand Up @@ -2810,6 +2814,7 @@ done
[`--import`]: #--importmodule
[`--openssl-config`]: #--openssl-configfile
[`--preserve-symlinks`]: #--preserve-symlinks
[`--print`]: #-p---print-script
[`--redirect-warnings`]: #--redirect-warningsfile
[`--require`]: #-r---require-module
[`Atomics.wait()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Atomics/wait
Expand Down

0 comments on commit d1ca25c

Please sign in to comment.