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.
2135
2135
2136
2136
<!-- YAML
2137
2137
added: 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.
2138
2145
-->
2139
2146
2140
2147
Preload the specified module at startup.
2141
2148
2142
2149
Follows ` require() ` 's module resolution
2143
2150
rules. ` module ` may be either a path to a file, or a node module name.
2144
2151
2145
- Only CommonJS modules are supported.
2146
- Use [ ` --import ` ] [ ] to preload an [ ECMAScript module] [ ] .
2147
2152
Modules preloaded with ` --require ` will run before modules preloaded with ` --import ` .
2148
2153
2149
2154
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