forked from FoundKeyGang/FoundKey
Norm
8f782f8ce5
This makes it a bit easier to add any new files that may need to be cleaned up in the future. Also allows us to use top-level await for the `yarn dev` task. Co-authored-by: Francis Dinh <normandy@biribiri.dev> Reviewed-on: FoundKeyGang/FoundKey#290
5 lines
184 B
JavaScript
5 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);
|