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 @@ -2166,15 +2166,20 @@ native stack and other runtime environment data.
21662166
21672167<!-- YAML
21682168added: v1.6.0
2169+ changes:
2170+ - version:
2171+ - v23.0.0
2172+ - v22.12.0
2173+ - v20.19.0
2174+ pr-url: https://github.com/nodejs/node/pull/51977
2175+ description: This option also supports ECMAScript module.
21692176-->
21702177
21712178Preload the specified module at startup.
21722179
21732180Follows ` require() ` 's module resolution
21742181rules. ` module ` may be either a path to a file, or a node module name.
21752182
2176- Only CommonJS modules are supported.
2177- Use [ ` --import ` ] [ ] to preload an [ ECMAScript module] [ ] .
21782183Modules preloaded with ` --require ` will run before modules preloaded with ` --import ` .
21792184
21802185Modules are preloaded into the main thread as well as any worker threads,
You can’t perform that action at this time.
0 commit comments