Skip to content

Commit 3271d04

Browse files
committed
Use nodejs for wasmJs target
It is necessary to use NPM related subtarget to be compatible with examples/kotlin-multiplatform. D8 is subtarget without necessity in NPM.
1 parent 05144c1 commit 3271d04

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

runtime/build.gradle.kts

+4-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ kotlin {
4545
jvm()
4646
js { nodejs() }
4747
@OptIn(ExperimentalWasmDsl::class)
48-
wasmJs { d8() }
48+
wasmJs {
49+
nodejs()
50+
d8()
51+
}
4952

5053
@OptIn(ExperimentalKotlinGradlePluginApi::class)
5154
applyDefaultHierarchyTemplate {

0 commit comments

Comments
 (0)