mirror of
https://github.com/jlengrand/kotlin-samples.git
synced 2026-03-10 08:31:22 +00:00
30 lines
583 B
Kotlin
30 lines
583 B
Kotlin
plugins {
|
|
id("org.jetbrains.kotlin.js") version "1.5.31"
|
|
}
|
|
|
|
group = "nl.jlengrand"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven")
|
|
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(kotlin("test"))
|
|
implementation("org.jetbrains.kotlinx:kotlinx-html:0.7.2")
|
|
implementation(npm("@supabase/supabase-js", "1.28.1"))
|
|
|
|
}
|
|
|
|
kotlin {
|
|
js(IR) {
|
|
binaries.executable()
|
|
browser {
|
|
commonWebpackConfig {
|
|
cssSupport.enabled = true
|
|
}
|
|
}
|
|
}
|
|
} |