Closed adminy closed 1 year ago
electron not support "type": "module"
,need to remove
so its related to https://github.com/electron/electron/issues/21457
any workaround? I really need to have type: module.
As far as I know, there is no solution.
Difficult to imagine a future for the Electron project where ESM and ES6+ as a whole aren't first-class citizens.
This issue will be closed as there is nothing to do. If you have any other questions, please feel free to submit an issue.
Yeah no I get it. Do you know any maintainers of the Electron project we could loop in to the discussion though? Cool if not, just curious.
Describe the bug
I would like to use esm and not commonjs.
Removing the type: module from package.json solves the issue but causes other things to fail, and I'd like to keep type: module as is.
Used Scaffolding
create-electron
Used Package Manager
npm
Validations