eygraber
10/30/2023, 10:07 PMjs and wasmJs should I just use wasmJs and leave out js entirely?Artem Kobzar
10/31/2023, 8:19 AMjs target, but if you don't have exported declarations or the exported declarations are functions - yes, you can use only wasmJsSvyatoslav Kuzmich [JB]
10/31/2023, 2:08 PMwasmJs is a Kotlin/Wasm target that creates Wasm, which is expected to run in a JS environment.
js is a Kotlin/JS target that produces JS.
You need both if you want to support both JS and Wasm platforms.eygraber
10/31/2023, 3:58 PMwasmJs and a Kotlin/JS consumer wanted to use it, it wouldn't be able to? i.e. it can't import it and wrap it or something like that?Svyatoslav Kuzmich [JB]
10/31/2023, 4:10 PMexternal declarations describing your API.