mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 08:23:47 +09:00
6 lines
173 B
TypeScript
6 lines
173 B
TypeScript
import path from 'node:path'
|
|
import { fileURLToPath } from 'node:url'
|
|
|
|
export const resolve = (p: string) =>
|
|
path.resolve(path.dirname(fileURLToPath(import.meta.url)), p)
|