mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +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, '..')
|