From 776becfe010cd04dedcea8b902e69fd40e626f2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Fri, 28 Mar 2025 08:40:49 -0400 Subject: [PATCH] doc: remove mention of `--require` not supporting ES modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/57620 Reviewed-By: Antoine du Hamel Reviewed-By: James M Snell Reviewed-By: Marco Ippolito Reviewed-By: Luigi Pinca Reviewed-By: Joyee Cheung Reviewed-By: Ulises Gascón Reviewed-By: Jordan Harband Reviewed-By: Chemi Atlow --- doc/api/cli.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index cefda053007..d39b090ba6c 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -2003,6 +2003,11 @@ this is not set and the network interfaces are included. 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`