mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: remove mention of --require not supporting ES modules
PR-URL: https://github.com/nodejs/node/pull/57620 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
This commit is contained in:
1 parent
3140a8f133
commit
776becfe01
1 file changed
+5
-2
+5
-2
@@ -2003,6 +2003,11 @@ this is not set and the network interfaces are included.
|
||||
|
||||
<!-- YAML
|
||||
added: v1.6.0
|
||||
changes:
|
||||
- version:
|
||||
- v20.19.0
|
||||
pr-url: https://github.com/nodejs/node/pull/51977
|
||||
description: This option also supports ECMAScript module.
|
||||
-->
|
||||
|
||||
Preload the specified module at startup.
|
||||
@@ -2010,8 +2015,6 @@ Preload the specified module at startup.
|
||||
Follows `require()`'s module resolution
|
||||
rules. `module` may be either a path to a file, or a node module name.
|
||||
|
||||
Only CommonJS modules are supported.
|
||||
Use [`--import`][] to preload an [ECMAScript module][].
|
||||
Modules preloaded with `--require` will run before modules preloaded with `--import`.
|
||||
|
||||
### `--secure-heap=n`
|
||||
|
||||
Reference in new issue
Block a user