You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's not actually the bug, there's no reason that the default output of package-a (the .js files) would require that bazel build package-b or package-c. Bazel only does the minimal work required to produce the outputs you request.
However, the issue you posted in slack was that a program which depends on A shouldn't be forced to declare dependencies on B or C in order to get those .js files in its runfiles tree.
Let's say I have 3 packages where:
package-a
depends onpackage-b
package-b
depends onpackage-c
package-c
has no dependenciesAnd each of these are defined with
swc_transpiler
, for instance:Running…
…will not build
package-c
.Here's a minimal reproduction: https://github.com/Nick-Mazuk/bazel-swc-deps
The text was updated successfully, but these errors were encountered: