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 <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>
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy