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