https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
d

d.bellingroth

04/26/2019, 7:36 AM
I'm not shure if this is the right channel. But I have a question regarding a multiplatform library project. We are developing a multiplatform library that will be used in a backend service written in Kotlin (JVM) and in a frontend written in JavaScript. But we did not find a good way to embed the generated JS-Code (including dependencies like kotlin-stdlib and kotlinx-serialization) in our javascript build process. Is there any way to generate a npm-package for the javascript part of a multiplatform-project. Or at least a way to generate a compiled JavaScript file that includes the needed dependencies?
h

h0tk3y

04/26/2019, 11:20 AM
The plugin's docs only mention the
kotlin2js
plugin, but I can see that the support for MPP was added, too.