1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-22 16:47:13 +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 {
jvm()
js(BOTH) {
browser { dceTask { keep "$library_group" } }
nodejs()
}
js()
sourceSets {
commonMain {

View File

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

View File

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

View File

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

View File

@ -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(

View File

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