2020-04-26 18:25:59 +00:00
|
|
|
plugins {
|
|
|
|
kotlin("js")
|
|
|
|
kotlin("plugin.serialization")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(kotlin("stdlib-js"))
|
|
|
|
|
2020-08-22 11:08:09 +00:00
|
|
|
implementation("org.jetbrains.kotlinx:kotlinx-html-js:0.7.2")
|
2020-04-26 18:25:59 +00:00
|
|
|
|
2020-08-22 11:08:09 +00:00
|
|
|
implementation("org.jetbrains:kotlin-react:16.13.1-pre.110-kotlin-1.4.0")
|
|
|
|
implementation("org.jetbrains:kotlin-react-dom:16.13.1-pre.110-kotlin-1.4.0")
|
|
|
|
implementation("org.jetbrains:kotlin-react-router-dom:5.1.2-pre.110-kotlin-1.4.0")
|
2020-04-26 18:25:59 +00:00
|
|
|
implementation(npm("react", "16.13.0"))
|
|
|
|
implementation(npm("react-dom", "16.13.0"))
|
|
|
|
|
|
|
|
implementation(project(":common"))
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-05-03 17:51:03 +00:00
|
|
|
kotlin {
|
|
|
|
target {
|
|
|
|
useCommonJs()
|
2020-09-17 17:29:43 +00:00
|
|
|
browser()
|
2020-05-03 17:51:03 +00:00
|
|
|
}
|
|
|
|
}
|