import.meta.dirname
- 类型:<string> 当前模块的目录名称。
这与import.meta.filename的path.dirname()相同。
【This is the same as the path.dirname() of the import.meta.filename.】
注意:仅出现在
file:模块中。
这与import.meta.filename的path.dirname()相同。
【This is the same as the path.dirname() of the import.meta.filename.】
注意:仅出现在
file:模块中。