--experimental-loader=module


不鼓励使用此标志,并且可能会在 Node.js 的未来版本中将其删除。请改用 --importregister()

¥This flag is discouraged and may be removed in a future version of Node.js. Please use --import with register() instead.

指定包含导出的 模块定制钩子modulemodule 可以是接受为 import 说明符 的任何字符串。

¥Specify the module containing exported module customization hooks. module may be any string accepted as an import specifier.