GarouDan
02/26/2019, 1:24 AMcompileKotlin2Js
and compileTestKotlin2Js
. But since I’m not using the id("kotlin2js")
plugin but kotlin("multiplatform")
I’m receiving an error saying that the tasks don’t exist. Does someone knows how to properly configure these tasks when applying the kotlin("multiplatform")
plugin?josephivie
02/26/2019, 3:55 AMkotlin {
js {
compilations.getByName("main") {
it.kotlinOptions {
moduleKind = "commonjs"
sourceMap = true
sourceMapEmbedSources = "always"
}
}
}
}