Björn Mayer
11/03/2020, 10:18 AMbrowserProductionWebpack build?Anthony Pages
11/03/2020, 10:34 AM@JsName("NameOfMyFunction") decorator ?Björn Mayer
11/03/2020, 10:46 AMsite.js didn’t even change, when I added JsNameAnthony Pages
11/03/2020, 10:52 AM@JsExport on your class and the @JsName on your function, but nothing ? (in my case the js class name is well the same as in my kotlin code, so for sure you can prevent it)Björn Mayer
11/03/2020, 10:55 AM@JsExport
Only @JsName.
I am not trying to call Kotlin from Javascript.
I am doing this:
MyClass::class.js.name
Let’s assume MyClass is nested in MyOtherClass.
In the dev build I get MyOtherClass$MyClass
In the prod build I get x$yBjörn Mayer
11/03/2020, 10:56 AM@JsName("blabla")turansky
11/03/2020, 11:07 AMBjörn Mayer
11/03/2020, 11:19 AM