feat: add global constants
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
import path from "path";
|
||||||
|
import { fileURLToPath } from "url";
|
||||||
|
|
||||||
|
export const __filename = fileURLToPath(import.meta.url);
|
||||||
|
export const __dirname = path.dirname(__filename);
|
||||||
Reference in New Issue
Block a user