Any example of using kotlin/js library in existing...
# javascript
g
Any example of using kotlin/js library in existing js project?
b
Here's a sample of linking and calling kotlin.js from ts app https://github.com/mpetuska/npm-publish/tree/master/sandbox/ts-consumer
If you want to use external kjs lib (from mavenCentral) in your npm project then it's not doable directly. You'll need to setup gradle project to pull in and reexport kjs libs with your own wrapper layer using @JsExport annotations
g
Does this plugin help with name mangling issue?
b
No, it's just assembly, packaging and publishing