From 5eb7a61b6548ad41bd7172078eac88f1eeee8cae Mon Sep 17 00:00:00 2001 From: Vitaly Pestryakov <34812712+dsvag@users.noreply.github.com> Date: Mon, 1 Apr 2024 14:18:25 +0300 Subject: [PATCH] add wasm support --- .../main/kotlin/elmslie.kotlin-multiplatform-lib.gradle.kts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build-logic/src/main/kotlin/elmslie.kotlin-multiplatform-lib.gradle.kts b/build-logic/src/main/kotlin/elmslie.kotlin-multiplatform-lib.gradle.kts index 6c6c26d1..17fe5c76 100644 --- a/build-logic/src/main/kotlin/elmslie.kotlin-multiplatform-lib.gradle.kts +++ b/build-logic/src/main/kotlin/elmslie.kotlin-multiplatform-lib.gradle.kts @@ -1,4 +1,5 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget +import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl plugins { kotlin("multiplatform") @@ -19,4 +20,9 @@ kotlin { iosArm64() iosSimulatorArm64() iosX64() + + @OptIn(ExperimentalWasmDsl::class) + wasmJs { + nodejs() + } } \ No newline at end of file