We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0db12ca commit 8d0de29Copy full SHA for 8d0de29
src/lib/utils.ts
@@ -12,6 +12,8 @@ import crypto from 'crypto'
12
import fs, { readFile } from 'fs/promises'
13
import path from 'path'
14
import os from 'os'
15
+import { createRequire } from 'node:module';
16
+const require = createRequire(import.meta.url);
17
18
// Global type declaration for typescript
19
declare global {
0 commit comments