-
-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Electron 28 already has ESM support, but the library doesn't work in ESM yet.
Here's my current solution based on making a fake NodeModule
:
const module = {
filename: fileURLToPath(import.meta.url)
, children: []
}
Due to the lack of module.children
, full ESM support may not be possible.
RoyHP, faribauc and Kurumi30
Metadata
Metadata
Assignees
Labels
No labels