Nuxt/packages/test-utils/src/dirs.ts

6 lines
191 B
TypeScript
Raw Normal View History

import { fileURLToPath } from 'node:url'
import { dirname, resolve } from 'pathe'
export const distDir = dirname(fileURLToPath(import.meta.url))
export const pkgDir = resolve(distDir, '..')