1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 16:23:48 +00:00

pass old way for building of js part

This commit is contained in:
InsanusMokrassar 2020-08-19 12:14:28 +06:00
parent 095382040c
commit da01955507
6 changed files with 6 additions and 23 deletions

View File

@ -31,10 +31,7 @@ repositories {
kotlin { kotlin {
jvm() jvm()
js(BOTH) { js()
browser { dceTask { keep "$library_group" } }
nodejs()
}
sourceSets { sourceSets {
commonMain { commonMain {

View File

@ -31,10 +31,7 @@ repositories {
kotlin { kotlin {
jvm() jvm()
js(BOTH) { js()
browser { dceTask { keep "$library_group" } }
nodejs()
}
sourceSets { sourceSets {
commonMain { commonMain {

View File

@ -31,10 +31,7 @@ repositories {
kotlin { kotlin {
jvm() jvm()
js(BOTH) { js()
browser { dceTask { keep "$library_group" } }
nodejs()
}
sourceSets { sourceSets {
commonMain { commonMain {

View File

@ -31,10 +31,7 @@ repositories {
kotlin { kotlin {
jvm() jvm()
js(BOTH) { js()
browser { dceTask { keep "$library_group" } }
nodejs()
}
sourceSets { sourceSets {
commonMain { commonMain {

View File

@ -4,9 +4,7 @@ import com.github.insanusmokrassar.TelegramBotAPI.utils.throwRangeError
import kotlinx.serialization.SerialName import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable import kotlinx.serialization.Serializable
val BotCommandNameRegex by lazy { val BotCommandNameRegex = Regex("^[a-z_0-9]{${botCommandLengthLimit.first},${botCommandLengthLimit.last}}$")
Regex("^[a-z_0-9]{${botCommandLengthLimit.first},${botCommandLengthLimit.last}}$")
}
@Serializable @Serializable
data class BotCommand( data class BotCommand(

View File

@ -26,10 +26,7 @@ repositories {
kotlin { kotlin {
jvm() jvm()
js(BOTH) { js()
browser { dceTask { keep "$library_group" } }
nodejs()
}
sourceSets { sourceSets {
commonMain { commonMain {