mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 00:03:48 +00:00
pass old way for building of js part
This commit is contained in:
parent
095382040c
commit
da01955507
@ -31,10 +31,7 @@ repositories {
|
||||
|
||||
kotlin {
|
||||
jvm()
|
||||
js(BOTH) {
|
||||
browser { dceTask { keep "$library_group" } }
|
||||
nodejs()
|
||||
}
|
||||
js()
|
||||
|
||||
sourceSets {
|
||||
commonMain {
|
||||
|
@ -31,10 +31,7 @@ repositories {
|
||||
|
||||
kotlin {
|
||||
jvm()
|
||||
js(BOTH) {
|
||||
browser { dceTask { keep "$library_group" } }
|
||||
nodejs()
|
||||
}
|
||||
js()
|
||||
|
||||
sourceSets {
|
||||
commonMain {
|
||||
|
@ -31,10 +31,7 @@ repositories {
|
||||
|
||||
kotlin {
|
||||
jvm()
|
||||
js(BOTH) {
|
||||
browser { dceTask { keep "$library_group" } }
|
||||
nodejs()
|
||||
}
|
||||
js()
|
||||
|
||||
sourceSets {
|
||||
commonMain {
|
||||
|
@ -31,10 +31,7 @@ repositories {
|
||||
|
||||
kotlin {
|
||||
jvm()
|
||||
js(BOTH) {
|
||||
browser { dceTask { keep "$library_group" } }
|
||||
nodejs()
|
||||
}
|
||||
js()
|
||||
|
||||
sourceSets {
|
||||
commonMain {
|
||||
|
@ -4,9 +4,7 @@ import com.github.insanusmokrassar.TelegramBotAPI.utils.throwRangeError
|
||||
import kotlinx.serialization.SerialName
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
val BotCommandNameRegex by lazy {
|
||||
Regex("^[a-z_0-9]{${botCommandLengthLimit.first},${botCommandLengthLimit.last}}$")
|
||||
}
|
||||
val BotCommandNameRegex = Regex("^[a-z_0-9]{${botCommandLengthLimit.first},${botCommandLengthLimit.last}}$")
|
||||
|
||||
@Serializable
|
||||
data class BotCommand(
|
||||
|
@ -26,10 +26,7 @@ repositories {
|
||||
|
||||
kotlin {
|
||||
jvm()
|
||||
js(BOTH) {
|
||||
browser { dceTask { keep "$library_group" } }
|
||||
nodejs()
|
||||
}
|
||||
js()
|
||||
|
||||
sourceSets {
|
||||
commonMain {
|
||||
|
Loading…
Reference in New Issue
Block a user