File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -2188,15 +2188,20 @@ native stack and other runtime environment data.
2188
2188
2189
2189
<!-- YAML
2190
2190
added: v1.6.0
2191
+ changes:
2192
+ - version:
2193
+ - v23.0.0
2194
+ - v22.12.0
2195
+ - v20.19.0
2196
+ pr-url: https://github.com/nodejs/node/pull/51977
2197
+ description: This option also supports ECMAScript module.
2191
2198
-->
2192
2199
2193
2200
Preload the specified module at startup.
2194
2201
2195
2202
Follows ` require() ` 's module resolution
2196
2203
rules. ` module ` may be either a path to a file, or a node module name.
2197
2204
2198
- Only CommonJS modules are supported.
2199
- Use [ ` --import ` ] [ ] to preload an [ ECMAScript module] [ ] .
2200
2205
Modules preloaded with ` --require ` will run before modules preloaded with ` --import ` .
2201
2206
2202
2207
Modules are preloaded into the main thread as well as any worker threads,
You can’t perform that action at this time.
0 commit comments