--experimental-loader=module
不鼓励使用此标志,并且可能会在 Node.js 的未来版本中将其删除。请改用
--import
与register()
。¥This flag is discouraged and may be removed in a future version of Node.js. Please use
--import
withregister()
instead.
指定包含导出的 模块定制钩子 的 module
。module
可以是接受为 import
说明符 的任何字符串。
¥Specify the module
containing exported module customization hooks.
module
may be any string accepted as an import
specifier.
如果与 权限模型 一起使用,此功能需要 --allow-worker
。
¥This feature requires --allow-worker
if used with the Permission Model.