in the kotlin examples project, there are three fo...
# compose-web
y
in the kotlin examples project, there are three folder(perhaps three targets?): jsMain, jsWasmMain, wasmJsMain . What are these suppose to mean
👀 1
image.png
i
It's definitely a bad naming example. jsMain - JS wasmJsMain - WASM and jsWasmMain is a custom source set name to share code between them - https://github.com/Kotlin/kotlin-wasm-examples/blob/main/compose-imageviewer/webApp/build.gradle.kts#L62C13-L62C23
y
Is jsMain non wasm target?
i
y
Cool.. i think this needs to be highlighted in the readme. It feels like the examples are only meant for wasm, which definitely isn’t the case..
Thanks for the info!