Does Electron v4 support ECMAScript modules?
问题 I am writing apps using Electron. The current version, 4.0.6, is based on Node 10.11.0 and Chrome 69.0.3947.106. I thought the latest version of Electron would support ECMAScript (ES6) modules but I have not been able to make them work, so far. In particular, on starting the app, the line: import { runTask } from './action'; gives the run-time error: Uncaught SyntaxError: Unexpected token { Before I put more effort into tracking down the problems, I would like to know the status of module