Hi 🙂 I use Kotlin/Js and have a npm dependency, which loads a wasm file at runtime. Is there a way to include it in Kotlin/Js tests? Maybe in Karma? The wasm file is in the node_modules directory of the package.
n
napperley
08/01/2021, 3:56 AM
Kotlin JS doesn't support WASM. FYI: There is a new Kotlin development platform under development that supports WASM called Kotlin WASM.
b
benkuly
08/01/2021, 8:22 AM
Kotlin WASM compiles Kotlin to WASM, but I just want to use a JS library in my Kotlin/JS project, that loads a WASM file on runtime.
benkuly
08/01/2021, 11:38 AM
Did solve it by customizing carma config (mime, files and proxy).