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

hallvard

02/08/2023, 1:56 PM
I have a MP library project that uses IR for JS compilation, and I use that library in a pure kotlin/JS project that needs to be js(BOTH) because a consumer of the javascript is a java/scala SBT project that doesn't read klib files (afaik). In order for the project «in the middle» to compile as js(BOTH), will I also have to compile the MP project with js(BOTH)? I have tried this chain of project compilations: js(IR) project -> js(BOTH) project -> SBT project, but gradle in the middle project complains ... Nevermind, I found out how to unpack the js file from the klib archive with sbt. (And deeply felt the need to migrate that project to gradle, haha)
3 Views