Unfortunately there doesn’t seem to be a way: Kotlin-js doesn’t currently compile to ES6. You can subscribe/vote for https://youtrack.jetbrains.com/issue/KT-8373 and other related issues, to vote for the Kotlin guys to implement this.
Unfortunately there doesn’t seem to be a way: Kotlin-js doesn’t currently compile to ES6. You can subscribe/vote for https://youtrack.jetbrains.com/issue/KT-8373 and other related issues, to vote for the Kotlin guys to implement this.