Skip to content

Commit

Permalink
fix: make //js/private:enable_runfiles explicitly have `//visibilit…
Browse files Browse the repository at this point in the history
…y: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.
  • Loading branch information
dgp1130 authored Jul 20, 2022
1 parent 668fe36 commit 431cf64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/private/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ exports_files(["js_binary.sh.tpl"])
config_setting(
name = "enable_runfiles",
values = {"enable_runfiles": "true"},
visibility = ["//visibility:public"],
)

bzl_library(
Expand Down

0 comments on commit 431cf64

Please sign in to comment.