Skip to content

Commit

Permalink
feat: add global constants
Browse files Browse the repository at this point in the history
  • Loading branch information
ghoshRitesh12 committed Dec 17, 2024
1 parent 1f47435 commit 54fe538
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/globals.ts
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 54fe538

Please sign in to comment.