import path, { dirname } from 'path'
import { fileURLToPath } from 'url'
const __dirname = dirname(fileURLToPath(import.meta.url))
Created
June 26, 2023 21:25
-
-
Save susilolab/f99a830bf2f83af08e8d4fe6390afd85 to your computer and use it in GitHub Desktop.
alternative __dirname di modul es6
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment