Hi,
Is there some known rule that is used to determine the ‘name’ of the javascript module that is created when building a kotlin Javascript (standalone or multiplatform) module.
It seems that there is no consistency.
When I build my own kotlin multiplatform modules they all end up with a very consistent name,
“{group}-{name}”
However, other modules seem to have names that do not follow this pattern. E.g
“org.jetbrains.kotlin:kotlin-stdlib-js” -> “kotlin”
“org.jetbrains.kotlinx:kotlinx-coroutines-core-js” -> “kotlinx-coroutines-core”
“org.jetbrains.kotlinx:kotlinx-io-js” -> “kotlinx-io”
“org.jetbrains.kotlinx:atomicfu-js” to “kotlinx-atomicfu”
“ktor-client-websockets-js” -> “ktor-ktor-client-websockets”
and really weirdly!!
“org.jetbrains.kotlinx:kotlinx-coroutines-io” -> “kotlinx-io-kotlinx-coroutines-io”
I am integrating kotlin generated JS modules into an angular project, but it would be much easier if the naming was consistent, or at least if there was a way to easily compute the JS module name from the gradle dependency.