import org.jetbrains.compose.desktop.application.dsl.TargetFormat

plugins {
    id "org.jetbrains.kotlin.multiplatform"
    id "org.jetbrains.compose"
}

kotlin {
    js(IR) {
        browser()
    }
    jvm {}

    sourceSets {
        named("commonMain") {
        }
        named("jsMain") { 
            dependencies {
                implementation(compose.html.core)
                implementation(compose.runtime)
            }
        }
        named("jvmMain") {
            dependencies {
                implementation(compose.desktop.currentOs)
            }
        }
    }
}
