Closed mbalex99 closed 8 years ago
Yeah that makes sense. I will try to do a PR today for this. Will keep the issue updated on that ;O tks
I think we can also remove core-js
as well.
I think core-js will still be necessary for es7-reflect feature. I dont think thats implemented in any browser yet. Altough I am not entirely sure https://github.com/zloirock/core-js/issues/152
I dont think you can target ES6 actually with electron, and the reason is that ES6 modules are not yet implemented in any browser as far as I know..So I dont think this would be an option but I am trying to dig into that. https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Statements/import
I think I will close this one, as far as I can tell and from all the repos I found (including the official angular one altough still on beta.2) they all target es5, and I am pretty sure the reason is ES6 modules.
let me know if you find something else, or have some ideas on this. Feel free to reopen if you think there is something to be done still.
Electron is ES6, so we should probably remove es6-shim and change the target in the
tsconfig.json
toes6