To learn the new ES6 syntax, I\'ve been trying to refactor some JS code.
I\'m absolutely confused though by the whole import / export methods.
How do I chang
These days every version of Electron comes with basic typescript support. So if you use a TS or TSX file in your project -then you can use ES Import statements inside that file. Whether you use an ES module or not.
https://www.electronjs.org/blog/typescript