mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-05 07:27:35 +08:00
migrate config file to json; read them via fs.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
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));
|
||||
Reference in New Issue
Block a user