7 lines
161 B
TypeScript
7 lines
161 B
TypeScript
|
import { dirname } from "node:path";
|
||
|
import { fileURLToPath } from "node:url";
|
||
|
|
||
|
export default function () {
|
||
|
return dirname(fileURLToPath(import.meta.url));
|
||
|
}
|