summaryrefslogtreecommitdiff
path: root/example/build.gradle.kts
blob: 2efa08e17fca2a663a15be5798a8d51ebbb48849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
plugins {
    kotlin("js")
}

repositories {
    mavenCentral()
}

kotlin {
    sourceSets.all {
        languageSettings.optIn("kotlin.ExperimentalStdlibApi")
        languageSettings.optIn("kotlin.RequiresOptIn")
    }
    js(IR) {
        browser {
            commonWebpackConfig {
                sourceMaps = true
                cssSupport.enabled = true
            }
        }
        binaries.executable()
    }
}


dependencies {
    implementation(npm("@fontsource/comic-mono", "^4.5.0"))
    implementation(rootProject)
}