CLOVIS
05/03/2024, 6:34 PMwasmJs vs wasmWasi?
Is it normal than when I had a wasmJs target, it breaks the js target?
w: 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
}
}
even though the build.gradle.kts is
@OptIn(ExperimentalWasmDsl::class)
kotlin {
jvm()
js {
browser()
nodejs()
}
linuxX64()
iosArm64()
iosSimulatorArm64()
iosX64()
wasmJs("wasmBrowser")
…
}CLOVIS
05/03/2024, 6:36 PMwasmJs should also specify browser() etcbashor
05/03/2024, 7:04 PMCLOVIS
05/04/2024, 12:07 PM