node/benchmark/fixtures/esm-dir-file.mjs

3 lines
90 B
JavaScript

export const dirname = import.meta.dirname;
export const filename = import.meta.filename;