import.meta.filename
- 类型:<string> 当前模块的完整绝对路径和文件名,符号链接已解析。
这与import.meta.url的url.fileURLToPath()相同。
【This is the same as the url.fileURLToPath() of the import.meta.url.】
注意 只有本地模块支持此属性。未使用
file:协议的模块将不提供该属性。
这与import.meta.url的url.fileURLToPath()相同。
【This is the same as the url.fileURLToPath() of the import.meta.url.】
注意 只有本地模块支持此属性。未使用
file:协议的模块将不提供该属性。