feat: add global constants

This commit is contained in:
Ritesh Ghosh
2024-12-17 12:49:14 +05:30
parent 1f474352d6
commit 54fe5389e1
+5
View File
@@ -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);