https://kotlinlang.org logo
#webassembly
Title
# webassembly
r

Robert Jaros

10/04/2023, 6:19 PM
Is there an option to disable generation of skiko.wasm and skiko.js when building kotlin/wasm app?
Or is it generated by compose?
b

bashor

10/04/2023, 7:08 PM
They are Compose for Web’s dependencies
they are required for Compose for Web
but you shouldn’t get them if you don’t use compose
r

Robert Jaros

10/04/2023, 7:37 PM
I use compose but not compose for web (only runtime)
b

bashor

10/04/2023, 7:40 PM
I guess this files added by compose gradle plugin (cc @Oleksandr Karpovich [JB])
As workaround, you can probably remove them with gradle
r

Robert Jaros

10/04/2023, 7:42 PM
I can just ignore them, but I suppose generating and copying takes time.
b

bashor

10/04/2023, 7:45 PM
I’m wondering how do you use runtime
what for?
r

Robert Jaros

10/04/2023, 7:47 PM
I love creating frameworks 😉 So I'm playing with a new one 😉
b

bashor

10/04/2023, 7:49 PM
Do you use DOM elements as a building block?
r

Robert Jaros

10/04/2023, 7:51 PM
It's hard to answer this question 🙂
b

bashor

10/04/2023, 7:52 PM
🤔
ok, what is building block then?
r

Robert Jaros

10/04/2023, 7:52 PM
DOM elements are there, but hidden under kvision-like components.
I'm still at the proof of concept level
b

bashor

10/04/2023, 7:54 PM
what’s difference from kvision?
r

Robert Jaros

10/04/2023, 7:56 PM
powered by compose runtime, no virtual dom, support both wasm and js target with the same application code
👍 3
o

Oleksandr Karpovich [JB]

10/05/2023, 7:11 AM
2 Views