UNPKG

vite-plugin-inspect

Version:

Inspect the intermediate state of Vite plugins

8 lines (5 loc) 284 B
import { dirname, resolve } from 'node:path'; import { fileURLToPath } from 'node:url'; const DIR_DIST = typeof __dirname !== "undefined" ? __dirname : dirname(fileURLToPath(import.meta.url)); const DIR_CLIENT = resolve(DIR_DIST, "../dist/client"); export { DIR_CLIENT, DIR_DIST };