jasongwartz / bazel_rules_nodejs_contrib

Ecosia specific JS Bazel rules to be used with the NodeJS rules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for transitive npm dependencies

pward123 opened this issue · comments

Given the following rule, it seems like anything that depends on my-interface has to also add the transitive @npm//lib-used-by-my-interface dep. Is that expected and is there any way to get around it?

js_library(
    name = "my-interface",
    deps = ["@npm//lib-used-by-my-interface"],
    ...
)