ESM tool
use __filename/__dirname in esm
import defineVars from 'iesmo'
const { __dirname, __filename } = defineVars(import.meta)
next
we will add glob, batch imports file
import defineVars from 'iesmo'
const { __dirname, __filename } = defineVars(import.meta)
we will add glob, batch imports file
npm i iesmo
2
0.0.2
none
2.15 kB
4