whashammer / dirname.js
Germinal's picture
Upload 14 files
44fba65
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