Sebastian
09/01/2021, 4:47 PMInstant
from the kotlinx-datetime package inside that project and now the exported JS package requires "@js-joda/core" to be present in order to function (even though the class using the Instant is not annotated with @JSExport
). Is anyone aware of a way to make the integration work without needing to add the @js-joda/core library to the JS project? 🤔
Update: Looks like there should be some way to configure the dependency "org.jetbrains.kotlinxkotlinx datetime0.2.1" to not be used for the JS target. But even after reading the docs it’s not very clear to me how to achieve that.ilya.gorbunov
09/02/2021, 12:58 AMkotlinx.datetime.Instant
is implemented in Kotlin/JS using the API from the js-joda
npm package, so it's required in order for Instant
class to function.Sebastian
09/02/2021, 8:11 AMilya.gorbunov
09/09/2021, 12:30 AM