From 431cf64540588ccf0b35d08d294905196ea8874c Mon Sep 17 00:00:00 2001 From: Douglas Parker Date: Wed, 20 Jul 2022 10:57:12 -0700 Subject: [PATCH] fix: make `//js/private:enable_runfiles` explicitly have `//visibility:public` (#301) This is a direct dependency of all `js_binary()` targets and is currently `//visibility:public` by default, however this behavior is changing and can be opted in early via the [`--incompatible_config_setting_private_default_visibility`](https://bazel.build/reference/command-line-reference#flag--incompatible_config_setting_private_default_visibility) flag. Making this target explicitly public passes the build with that flag. --- js/private/BUILD.bazel | 1 + 1 file changed, 1 insertion(+) diff --git a/js/private/BUILD.bazel b/js/private/BUILD.bazel index dd8aab11e..4aa350efc 100644 --- a/js/private/BUILD.bazel +++ b/js/private/BUILD.bazel @@ -12,6 +12,7 @@ exports_files(["js_binary.sh.tpl"]) config_setting( name = "enable_runfiles", values = {"enable_runfiles": "true"}, + visibility = ["//visibility:public"], ) bzl_library(