Nuxt/packages/nitro/src/dirs.ts
2021-10-02 18:01:17 +02:00

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')