--import=module


稳定性: 1 - 实验性

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

🌐 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.