diff --git a/.gitignore b/.gitignore index 868e811..70c793e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ local.properties xcuserdata .kotlin #So we don't accidentally commit our private keys -*.gpg \ No newline at end of file +*.gpg +/kotlin-js-store/yarn.lock diff --git a/library/build.gradle.kts b/library/build.gradle.kts index 94c8cb4..b327332 100644 --- a/library/build.gradle.kts +++ b/library/build.gradle.kts @@ -1,5 +1,6 @@ import com.vanniktech.maven.publish.SonatypeHost import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi +import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { @@ -24,6 +25,15 @@ kotlin { iosArm64() iosSimulatorArm64() linuxX64() + mingwX64() + @OptIn(ExperimentalWasmDsl::class) + wasmWasi { + nodejs() + } + js { + browser() + nodejs() + } sourceSets { val commonMain by getting {