K J
11/08/2023, 8:22 PMjs
and wasmJs
targets depend on? I want to make a class that can be accessed via both js
and wasmJs
modules (since it uses Float64Array), but not put it in the common
module, since Float64Array wouldn't be accessible for my jvm
module.Oliver.O
11/08/2023, 8:24 PMK J
11/08/2023, 8:25 PMOliver.O
11/08/2023, 8:31 PM@OptIn(ExperimentalKotlinGradlePluginApi::class)
applyDefaultHierarchyTemplate {
common {
group("commonJs") {
group("js")
group("wasmJs")
}
}
}
Background: https://twitter.com/Sellmair/status/1717273638901006774K J
11/08/2023, 8:40 PMkotlin-dom-api-compat
, but in the WASM module it pulls from kotlin-stdlib-wasm-js
, which makes me think this is frustratingly not possible as they're two different classesOliver.O
11/08/2023, 8:51 PMwasmJs
and js
as I'm using different Compose versions with those.)