Hi Guys, I’ve created this function in my `main.kt...
# webassembly
n
Hi Guys, I’ve created this function in my
main.kt
file but when I’m trying to call this fuction from
index.html
, it says function is undefined.
Copy code
@JsExport
@JsName("submitJsonToKMM")
fun submitJsonToKMM() {
    
}
What can be the reason, I’ve checked dist folder isn’t generating in my project but .js file is there in kotlin-webpack folder, is this could be the reason or something else ?