Striving to make an mpp library for use both on jv...
# multiplatform
h
Striving to make an mpp library for use both on jvm and as a js supplement in html pages (so on the webbrowser client), I wonder if I may have overlooked something about the kotlin.js file for the javascript target. My mpp builds four jar files, suffixed with
js
,
jvm
,
metadata
and
metadata-sources
, respectively. In the jar file containing javascripts, I only find "my own" javascripts, not the needed library javascript files
kotlin.js
and
kotlinx-serialization-runtime-js.js
. What's the magic formula to have those files packed in the jar file (using gradle)? According to the kotlinlang.org docs, "Kotlin is distributed with kotlin.js standard library as a single file". But still need it to serve it to my clients. and I even can't find it in the project folders anywhere ...