Nuxt/packages/bridge/src/dirs.ts

6 lines
186 B
TypeScript
Raw Normal View History

import { fileURLToPath } from 'url'
import { dirname, resolve } from 'pathe'
2021-09-05 21:21:33 +00:00
export const distDir = dirname(fileURLToPath(import.meta.url))
2021-09-05 21:21:33 +00:00
export const pkgDir = resolve(distDir, '..')