Skip to content

Commit 776becf

Browse files
JLHwungmarco-ippolito
authored andcommitted
doc: remove mention of --require not supporting ES modules
PR-URL: #57620 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Ulises Gascón <[email protected]> Reviewed-By: Jordan Harband <[email protected]> Reviewed-By: Chemi Atlow <[email protected]>
1 parent 3140a8f commit 776becf

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc/api/cli.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2003,15 +2003,18 @@ this is not set and the network interfaces are included.
20032003

20042004
<!-- YAML
20052005
added: v1.6.0
2006+
changes:
2007+
- version:
2008+
- v20.19.0
2009+
pr-url: https://github.com/nodejs/node/pull/51977
2010+
description: This option also supports ECMAScript module.
20062011
-->
20072012

20082013
Preload the specified module at startup.
20092014

20102015
Follows `require()`'s module resolution
20112016
rules. `module` may be either a path to a file, or a node module name.
20122017

2013-
Only CommonJS modules are supported.
2014-
Use [`--import`][] to preload an [ECMAScript module][].
20152018
Modules preloaded with `--require` will run before modules preloaded with `--import`.
20162019

20172020
### `--secure-heap=n`

0 commit comments

Comments
 (0)