chore: esm compatible scripts
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
import fse from 'fs-extra'
|
||||
import path from 'path'
|
||||
import { fileURLToPath } from 'url'
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url)
|
||||
const __dirname = path.dirname(__filename)
|
||||
|
||||
const packagesDir = path.resolve(__dirname, '../../packages')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user