diff options
| author | nea <romangraef@gmail.com> | 2022-08-26 14:56:23 +0200 |
|---|---|---|
| committer | nea <romangraef@gmail.com> | 2022-08-26 14:56:23 +0200 |
| commit | 176e37844c17eaabb5c9da0f9c23237df9c0b5a8 (patch) | |
| tree | 2c7d485355eed738ce1c30b03b7424e9f4a9db48 /example | |
| parent | b87a65229ad9c7d09fd837b95e9e03624842669b (diff) | |
| download | neamoe-176e37844c17eaabb5c9da0f9c23237df9c0b5a8.tar.gz neamoe-176e37844c17eaabb5c9da0f9c23237df9c0b5a8.tar.bz2 neamoe-176e37844c17eaabb5c9da0f9c23237df9c0b5a8.zip | |
idk make it maveny
Diffstat (limited to 'example')
| -rw-r--r-- | example/build.gradle.kts | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/example/build.gradle.kts b/example/build.gradle.kts index 46f4a6d..2efa08e 100644 --- a/example/build.gradle.kts +++ b/example/build.gradle.kts @@ -1,7 +1,29 @@ +plugins { + kotlin("js") +} -dependencies { - implementation(npm("@fontsource/comic-mono", "^4.5.0")) - implementation(rootProject) +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) +}
\ No newline at end of file |
