andylamax
06/16/2021, 3:43 AMkotlin {
browser {}
nodejs {}
}
seems more intuitive and inline with KMM than
kotlin {
js {
browser()
nodejs()
}
}
The former unlocks
• hierarchical source sets between javascript targets
• Easier gradle resolutions for browser or node specific
• Intrinsically adding kotlinx-browser
and kotlinx-node
depedenciesCLOVIS
06/16/2021, 8:12 AMbrowser
?hfhbd
06/16/2021, 9:16 AMandylamax
06/17/2021, 12:54 AMkotlin {
browser{}
wasm{}
}
CLOVIS
06/17/2021, 7:56 AMbrowser
.
I like the above issue though:
kotlin {
jsBrowser()
jsNode()
wasm()
}
andylamax
06/18/2021, 2:00 AM