You are currently viewing use local-builded kotlin lib in local npm project

use local-builded kotlin lib in local npm project

My kotlin (1.4.21) project (build with gradle) is in two modules: 1) a “domain” part, build with a gradle kotlin multiplatform (js(BOTH) and jvm target) 2) a “browser” part , build with npm and with package.json

My issue is, which path should I configure in the package.json to make it get the npm lib build by the business module? which build task should I do?

The business module don’t build a simple repo with an index.js and a package.json, but a complexe repo at the root of the project with multiple workspace. And when I pointe my browser package.json to it, it never work. I have also the issue that my .d.ts files are always empty, despite I use @JsonExport annotation

submitted by /u/oreha
[link] [comments]