moko-resources
moko-resources copied to clipboard
Add wasmJs target [WIP]
trafficstars
This isn't quite working yet, but started adding support for wasmJs. It will build, but generated code for wasmJs doesn't work because wasmJs only supports calling js code in top level functions:
Calls to 'js(code)' should be a single expression inside a top-level function body or a property initializer in Kotlin/Wasm.
Also, requires an updated moko-graphics with wasmJs added
It could also probably be cleaned up to share more code with the js target.