--experimental-loader=module


版本历史
版本变更
v22.13.1

在启用权限模型的情况下使用此功能需要传递 --allow-worker

v12.11.1

此标志已从 --loader 重命名为 --experimental-loader

v8.8.0

新增于: v8.8.0

不鼓励使用此标志,并且可能会在 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.

如果与 权限模型 一起使用,此功能需要 --allow-worker

\This feature requires --allow-worker if used with the Permission Model.

AltStyle によって変換されたページ (->オリジナル) /