Skip to main content
Bun 在 import.meta 对象上提供了一些特定于模块的实用工具。使用 import.meta.path 来获取当前文件的绝对路径。
/a/b/c.ts

请参阅 import.meta