File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -2135,15 +2135,20 @@ native stack and other runtime environment data.
21352135
21362136<!-- YAML
21372137added: v1.6.0
2138+ changes:
2139+ - version:
2140+ - v23.0.0
2141+ - v22.12.0
2142+ - v20.19.0
2143+ pr-url: https://github.com/nodejs/node/pull/51977
2144+ description: This option also supports ECMAScript module.
21382145-->
21392146
21402147Preload the specified module at startup.
21412148
21422149Follows ` require() ` 's module resolution
21432150rules. ` module ` may be either a path to a file, or a node module name.
21442151
2145- Only CommonJS modules are supported.
2146- Use [ ` --import ` ] [ ] to preload an [ ECMAScript module] [ ] .
21472152Modules preloaded with ` --require ` will run before modules preloaded with ` --import ` .
21482153
21492154Modules are preloaded into the main thread as well as any worker threads,
You can’t perform that action at this time.
0 commit comments