Files
SnowLuma/.pnpm-store/v11/files/59/d371dd7ad7ad0171a43defcee956b5f9e3dfe283da9103cb44eabf1b14fcc3d29a81b6085027fc3f5fb5f883a4b27062ce7f17d141ff688e7ec78bba342b2c
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

10 lines
322 B
Plaintext

// Shim globals in esm bundle
import path from 'node:path'
import { fileURLToPath } from 'node:url'
const getFilename = () => fileURLToPath(import.meta.url)
const getDirname = () => path.dirname(getFilename())
export const __dirname = /* @__PURE__ */ getDirname()
export const __filename = /* @__PURE__ */ getFilename()