galex
12/11/2019, 9:43 AMumd
. I see that all classes and object (singletons) are generated as function() so I am not sure how I am supposed to use it in JavaScript, as when called I get undefined
as returned value. Any idea?Boris Dudelsack
12/11/2019, 10:00 AMuseCommonJs()
in your target
configurationsBoris Dudelsack
12/11/2019, 10:00 AMamd
target {
//useCommonJs()
browser()
compilations.all {
kotlinOptions.apply {
moduleKind = "amd"
sourceMap = true
sourceMapEmbedSources = null
}
}
}