mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-05-06 20:02:47 +08:00
3 lines
182 B
JavaScript
3 lines
182 B
JavaScript
import * as url from 'url';
|
|
export const get__filename = () => url.fileURLToPath(import.meta.url);
|
|
export const get__dirname = () => url.fileURLToPath(new URL('.', import.meta.url)); |