Reputation: 827
So apparently since 2018 Electron has used an outdated feature set of JavaScript via older Chromium / Node version so we can't use import
ES6 syntax. According to an answer linked, the solution is to use babel. However, if Electron ever gets with the times, Id like to remove that extra step from my project. Where / how can I see which version of Chromium / Node is supported by the latest release of Electron? Preferably by looking at the GitHub page or documentation rather than having to install / test.
Upvotes: 1
Views: 8858
Reputation: 2346
Electron/Chrome/Node version mapping can be found here: https://www.electronjs.org/docs/latest/tutorial/electron-timelines
Upvotes: 1
Reputation: 10064
Electron releases page has a note everytime Chromium version is updated.
For instance, 11.0.5 has updated Chromium to 87.0.4280.88.
Apart from that, if you want to know which Chromium version your application is using, you can enable DevTools and see release information there.
Upvotes: 1