-r,--require 模块
🌐 -r, --require module
在启动时预加载指定的模块。
🌐 Preload the specified module at startup.
遵循 require() 的模块解析规则。module 可以是文件路径,也可以是节点模块名称。
🌐 Follows require()'s module resolution
rules. module may be either a path to a file, or a node module name.
只支持 CommonJS 模块。
使用 --import 预加载 ECMAScript 模块。
通过 --require 预加载的模块将在通过 --import 预加载的模块之前运行。
🌐 Only CommonJS modules are supported.
Use --import to preload an ECMAScript module.
Modules preloaded with --require will run before modules preloaded with --import.