Hey I moved to Kotlin 1.2.50-eap-62 and it no long...
# javascript
k
Hey I moved to Kotlin 1.2.50-eap-62 and it no longer generates a Kotlin.js library. I can't find docs on compileKotlin2Js, does anyone know where they are?
n
Is the Kotlin standard library/runtime being embedded into the program?
a
Which version did you move from? AFAIK the compiler has never generated the kotlin.js library, not since 1.1 at least. There is a number of ways to obtain it though: the DCE plugin does it for you, you could copy it from the
.jar
file (e.g.
populateNodeModules
task), or you could install it from NPM.
Could you tell me which build tools you are using? I think we could start from that and figure out what exactly went wrong for you.
In terms of the docs there is this one: https://kotlinlang.org/docs/reference/using-gradle.html