Friedger
07/17/2020, 11:12 AMshared
module:
@JsModule("mylib.js")
@JsNonModule
external class Mylib {
companion object {
fun execute(param:String): String
}
}
then I put the mylib.js
file in a jsMain/resources
folder.
Running ./gradlew shared:jsBrowserDWebpack results in
Module not found: Error: Can't resolve 'mylib.js' in '/home...
Where is the right place to put mylib.js?