6 lines
184 B
JavaScript
6 lines
184 B
JavaScript
|
import { fileURLToPath } from 'node:url';
|
||
|
import { dirname } from 'node:path';
|
||
|
|
||
|
export const __filename = fileURLToPath(import.meta.url);
|
||
|
export const __dirname = dirname(__filename);
|