I am using 1.3.50 and I have a multiplatform library that I now wish to package as an NPM module which I want to use in an angular project with typescript. How do I package my library as an NPM module? All the information I could find was for older versions of kotlinjs which do not apply anymore.
As we discussed in thread linked by @diesieben07 it is possible only with some workarounds: you may create your own
package.json
in root folder that lists all workspaces (npm packages) created by gradle and your js workspaces (npm packages).
You may check @diesieben07's example or this: https://github.com/snrostov/kotlin-mpp-npm-demo
a
audax
10/21/2019, 8:02 AM
Thanks for the pointers! Let's hope that I can get this to work!