Hi ! Is it possible to set ES12 as compilation tar...
# javascript
a
Hi ! Is it possible to set ES12 as compilation target ?
b
No. Not even ES6 is possible
a
Oh, why it is like that ? Can't we even modify the Webpack configuration ?
b
Don't think so. ES6 support is one of the most awaited features of kotlin by now. It would solve so many pressure points for the browser target.
a
And what is the state of that ?
b
The compilation pipeline is as follows: 1. korlinJsCompile: direct kotlin to js transpilation 2. browserWebpack: webpack execution with all external npm dependencies and your kotlinjsCompile js output files
a
Is there an issue to add ES6 target ?
b
Yes, it's even on the roadmap, just postponed