Vampire
08/18/2020, 11:58 PMkotlin { js(IR) { useCommonJs(); binaries.executable(); nodejs() }
`tasks.compileKotlinJs.get().outputFile.absolutePath`evaluates to <project dir>/build/classes/kotlin/main/<project>.js
but that there are no such files but only a folder default
with content?Vampire
08/19/2020, 12:33 AMIlya Goncharov [JB]
08/19/2020, 8:55 AMcompileKotlinJs
is about compilation of IR (klib file format) and you have compile(Development|Production)ExecutableKotlinJs
and it is task which outputs js file, and it will point on necessary placeVampire
08/19/2020, 8:59 AMcompileKotlinJs
task has that file defined as ouptutFile
if it is not an output file with the current configuration.
This is highly confusing and feels wrong.