Join Slack
Powered by
Hello, how can I export a kmp module(include js ta...
# javascript
a
Ayla
08/04/2023, 8:34 AM
Hello, how can I export a kmp module(include js target) to an existing js project?
i
Ivan Cagle (IvanEOD)
08/04/2023, 12:28 PM
I believe you can package them into actual npm packages that you could then add to your package.json of the other?
b
Big Chungus
08/04/2023, 3:02 PM
That's the way to go. Here's an example setup as well:
https://github.com/mpetuska/npm-publish/tree/master/samples/local-ts-consumer
Note that setup for js is the nearly identical (just drop ts dependencies) and npm-pubish plugin used there is optional (just removes some boilerplate)
❤️ 1
Open in Slack
Previous
Next