Skip to content

Commit

Permalink
chore(website): Set compilerOptions target to ES2015, enable ES mod…
Browse files Browse the repository at this point in the history
…ules usage.
  • Loading branch information
Ayfri committed Aug 10, 2024
1 parent 54f3654 commit bc26226
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import kotlinx.html.link
import kotlinx.html.script
import kotlinx.html.unsafe
import org.commonmark.node.Text
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi

plugins {
kotlin("multiplatform")
Expand Down Expand Up @@ -186,6 +187,11 @@ kotlin {
}
}

@OptIn(ExperimentalKotlinGradlePluginApi::class)
compilerOptions {
target = "es2015"
}
useEsModules()
binaries.executable()
}

Expand Down

0 comments on commit bc26226

Please sign in to comment.