Is it possible to use the latest jb-compose plugin...
# compose-desktop
b
Is it possible to use the latest jb-compose plugin without pulling in the web support? (It's not compatible with my JS target)
o
it should be, @[JB] Shagen @Oleksandr Karpovich [JB] @alexey.tsvetkov
a
The following snippet should turn off Compose for Web configuration for all Kotlin/JS targets
Copy code
compose.web {
     targets() // or targets(*emptyArray())
}
🙏 2
BTW what kind of incompatibility do you mean?
☝️ 1
b
I use kotlinx serialization in my common module, and this causes IdSignature clash with compose JS target (it's a known/filed issue)
Just to confirm, setting
compose.web { targets() }
to disable JS compose does work, and allows me to use latest compose plugn for my Android/desktop targets without causing the above error 🙂
👍 1