mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 18:13:54 +00:00
6 lines
186 B
TypeScript
6 lines
186 B
TypeScript
|
import { fileURLToPath } from 'url'
|
||
|
import { dirname, resolve } from 'pathe'
|
||
|
|
||
|
export const distDir = dirname(fileURLToPath(import.meta.url))
|
||
|
export const pkgDir = resolve(distDir, '..')
|