jamshedalamqaderi
06/26/2024, 2:26 AMbinaries.executable()
in js block
js(IR) {
browser()
nodejs()
binaries.executable()
}
Is it necessary to add in multiplatform library?jw
06/26/2024, 2:28 AMnodejs()
and browser()
unless you explicitly have behavior that varies across those runtimes.CLOVIS
06/26/2024, 7:30 AMw: Please choose a JavaScript environment to build distributions and run tests.
Not choosing any of them will be an error in the future releases.
kotlin {
js {
// To build distributions for and run tests on browser or Node.js use one or both of:
browser()
nodejs()
}
}
jamshedalamqaderi
06/26/2024, 7:32 AMjamshedalamqaderi
06/26/2024, 7:58 AMw: Please choose a JavaScript environment to build distributions and run tests.
Not choosing any of them will be an error in the future releases.
kotlin {
js {
// To build distributions for and run tests on browser or Node.js use one or both of:
browser()
nodejs()
d8
}
}
Edoardo Luppi
06/26/2024, 9:38 AMEdoardo Luppi
06/26/2024, 9:39 AMbinaries.executable()
or binaries.library()
are useful if you want to output an executable application, or if you want to output a JS library (e.g. a Node package).Edoardo Luppi
06/26/2024, 9:40 AMjw
06/26/2024, 10:44 AM