Hi. Can anybody help to put JS distribution files ...
# multiplatform
e
Hi. Can anybody help to put JS distribution files in KMP module as JVM static resources? I found several topics, but they are al outdated and related to old JS plugin.
a
You want to put the generated by compiler file into a KLIB resources, right?
e
@Artem Kobzar I have a KMP lib with commonMain, jvmMain and jsMain sources. JvmMain contains Ktor Routing. JsMain contains some static HTMP with image resources. This lib is now integrated in some external Android and Java applications as JVM dependency. I want to build in jsMain distribution to the jvmMain/resources/webapp folter during library publication.
Currently my Android and JVM external applications can run Ktor server and use routing, but Ktor does not see index.html and app.js static resources files as they are not pacjed inside jvmMain jar.