Alexander Stoppel
05/03/2022, 7:00 AM@JsExport
-annotated function is located in a different module? Within the same module, I would use js("myModule.myFuntion();")
which works fine but calling js("myOtherModule.myOtherFunction();")
fails since JavaScript fails to resolve myOtherModule
Is there a Gradle configuration or anything else I can do to access myOtherModule
from JS when running myModule
?Grégory Lureau
05/03/2022, 7:18 AMjs(String)
if you can call it directly from Kotlin? (I mean you're loosing strong typing, rename tools may not detect calls from strings, you may generate method for nothing if not use from js, you're not declaring explicitly your dependencies, ...)Alexander Stoppel
05/03/2022, 7:39 AMjs(String)
call from Kotlin and cannot make a direct call 😞Grégory Lureau
05/03/2022, 7:45 AMAlexander Stoppel
05/03/2022, 7:52 AM@JsExport
functions from myOtherModule should be available as if they where in the compiled module myModule which fails as well