xsender / src /dirname.js
Softin Trading
Initail commit from Github.
89a1081
Raw History Blame Contribute Delete
152 Bytes
import { dirname } from 'path'
import { fileURLToPath } from 'url'
const __dirname = dirname(fileURLToPath(import.meta.url))
export default __dirname