Those publishing js libraries with `binaries.libra...
# javascript
a
Those publishing js libraries with
binaries.library()
how do you publish your sources (not source maps) as well??? I would like for my consumers to be able to view the stacktrace in kotlin code, but they can't. Has anyone figured how to achieve this with a library built by K/JS?
t
Do you use
multiplatform
plugin?
a
yes, I do
t
In that case looks like your
MavenPublication
s must be fine by default
a
so then how do javascript/typescript (Not kotlin/js consumers) consumers get to see the sources from maven???
in other words, how do the consumers of my javascript library who arent using kotlin but the liblary itself, get to view the kotlin files on their stack traces???
e
@andylamax in those cases you need to enable and ship source maps with your npm package.
You're talking about platform consumers, so forget about Maven repositories.
a
do you have a hint on how I can do that??