kotlin-frontend-plugin icon indicating copy to clipboard operation
kotlin-frontend-plugin copied to clipboard

Project Dependencies Not Present in package.json

Open reenigneEsrever92 opened this issue 7 years ago • 3 comments

I'm having a multi project build with three modules A, B, C. Dependencies are i the same order: A -> B -> C

Yet, I'm having trouble getting all the dependencies together in a single bundle.

Whenever I build module A I end up having module C present in module "A"s, yet not module B which is declared in my build.gradle:

dependencies {
    compile(":B")
}

Also module C is present in my package.json in my build folder as opposed to module B.

Why is that? And, does it need fixing?

reenigneEsrever92 avatar May 18 '18 11:05 reenigneEsrever92

I believe the problem is that dependency modules output dirs are not in module lookup paths so this is why it doens't work as intended. For sure we shouldn't install them to node_modules as it will be extremely slow

cy6erGn0m avatar May 18 '18 11:05 cy6erGn0m

ok, yet the transitive dependency would (C) would still end up there. What about that?

reenigneEsrever92 avatar May 18 '18 11:05 reenigneEsrever92

I mean it's missing recursion here, isn't it?

reenigneEsrever92 avatar May 18 '18 12:05 reenigneEsrever92