Open araujoarthur0 opened 11 months ago
Electron 28 will bring the promised support to ES modules: https://github.com/electron/electron/issues/21457
Important Support for ES Modules in Electron will land in Electron 28 and will be available in the electron-nightly released on August 31st 🥳
Important
Support for ES Modules in Electron will land in Electron 28 and will be available in the electron-nightly released on August 31st 🥳
After that, maybe we'll be able to stop using the esm module to mix require and import statements?
Here it is: https://releases.electronjs.org/release/v28.0.0
We have to migrate tests to mocha since jest-electron is no longer mantained and jest doesn't play nice with es6 modules.
Electron 28 will bring the promised support to ES modules: https://github.com/electron/electron/issues/21457
After that, maybe we'll be able to stop using the esm module to mix require and import statements?