--import=module


稳定性: 1 - 实验性的

¥Stability: 1 - Experimental

在启动时预加载指定的模块。

¥Preload the specified module at startup.

遵循 ECMAScript 模块 解析规则。使用 --require 加载 CommonJS 模块。预加载 --require 的模块将在预加载 --import 的模块之前运行。

¥Follows ECMAScript module resolution rules. Use --require to load a CommonJS module. Modules preloaded with --require will run before modules preloaded with --import.