https://kotlinlang.org logo
#javascript
Title
# javascript
i

Ilia Tochilin

03/20/2023, 1:01 PM
Hi, as far as I know there’s no description of which compilers are deprecated or what versions of Kotlin are supported. For example, I want to use command-line compiler, as I understand it is kotlinc or kotlin compiler embeddable, kotlinc seems to support IR, but there’s an open youtrack issue where it’s clear that it doesn’t work, does anyone have an overview of every possible way of using Kotlin/Js and probably plans on getting rid of something ?
c

CLOVIS

03/20/2023, 1:18 PM
Is there any reason why you don't use the Gradle plugin?
i

Ilia Tochilin

03/20/2023, 1:19 PM
I don’t want to use NodeJs or Yarn
c

CLOVIS

03/20/2023, 1:19 PM
How will you manage your dependencies?
i

Ilia Tochilin

03/20/2023, 1:22 PM
Don’t really see a problem, you have index.html and for example js/libs where you store kotlin.js, frontend.js and whatever you want. Or do you mean something else ?
c

CLOVIS

03/20/2023, 1:23 PM
If you want to use a lib like React, you'll have to declare a dependency on it, that's what Yarn is for
Doing this manually will be a lot of work
i

Ilia Tochilin

03/20/2023, 1:24 PM
I don’t want to use React. It’s not really about my case but about different possibilities in general
5 Views