import() 在注入的主脚本中


🌐 import() in the injected main script

import() 可以在 CommonJS 和 ESM("mainFormat": "module")单文件可执行应用中动态加载内置模块。尝试使用 import() 从文件系统加载模块会抛出错误。