mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +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, '..')
|