implement support of wasm/js for browser

This commit is contained in:
nullsanya
2025-04-03 21:22:55 +10:00
parent 8ae983971a
commit 54576d8dec
28 changed files with 811 additions and 0 deletions

View File

@@ -27,6 +27,10 @@ kotlin {
}
}
}
wasmJs {
browser()
nodejs()
}
linuxX64()
mingwX64()
@@ -55,6 +59,11 @@ kotlin {
implementation kotlin('test-js')
}
}
wasmJsTest {
dependencies {
implementation kotlin('test-wasm-js')
}
}
nativeMain.dependsOn commonMain
linuxX64Main.dependsOn nativeMain