electron/spec/fixtures/esm/import-meta/preload.mjs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
97 B
JavaScript
Raw Normal View History

import { fileURLToPath } from 'node:url'
window.importMetaPath = fileURLToPath(import.meta.url)