diff --git a/js/BUILD.bazel b/js/BUILD.bazel index 75ded89be..a4f8bef58 100644 --- a/js/BUILD.bazel +++ b/js/BUILD.bazel @@ -8,12 +8,6 @@ exports_files( visibility = ["//docs:__pkg__"], ) -config_setting( - name = "enable_runfiles", - values = {"enable_runfiles": "true"}, - visibility = ["//visibility:public"], -) - bzl_library( name = "defs", srcs = ["defs.bzl"], diff --git a/js/defs.bzl b/js/defs.bzl index 9f86b687e..12f80edd9 100644 --- a/js/defs.bzl +++ b/js/defs.bzl @@ -29,7 +29,7 @@ load( def js_binary(**kwargs): _js_binary( enable_runfiles = select({ - Label("@aspect_rules_js//js:enable_runfiles"): True, + Label("@aspect_bazel_lib//lib:enable_runfiles"): True, "//conditions:default": False, }), **kwargs @@ -38,7 +38,7 @@ def js_binary(**kwargs): def js_test(**kwargs): _js_test( enable_runfiles = select({ - Label("@aspect_rules_js//js:enable_runfiles"): True, + Label("@aspect_bazel_lib//lib:enable_runfiles"): True, "//conditions:default": False, }), **kwargs diff --git a/js/private/js_run_devserver.bzl b/js/private/js_run_devserver.bzl index 4ada5d846..df73c7b40 100644 --- a/js/private/js_run_devserver.bzl +++ b/js/private/js_run_devserver.bzl @@ -263,7 +263,7 @@ def js_run_devserver( rule_to_execute( name = name, enable_runfiles = select({ - "@aspect_rules_js//js:enable_runfiles": True, + "@aspect_bazel_lib//lib:enable_runfiles": True, "//conditions:default": False, }), entry_point = "@aspect_rules_js//js/private:js_devserver_entrypoint", diff --git a/js/private/test/coverage/BUILD.bazel b/js/private/test/coverage/BUILD.bazel index 2c9c70abd..8325e0bbf 100644 --- a/js/private/test/coverage/BUILD.bazel +++ b/js/private/test/coverage/BUILD.bazel @@ -24,7 +24,7 @@ coverage_fail_test( name = "fail", data = ["lib.js"], enable_runfiles = select({ - "@aspect_rules_js//js:enable_runfiles": True, + "@aspect_bazel_lib//lib:enable_runfiles": True, "//conditions:default": False, }), entry_point = "lib.js", @@ -52,7 +52,7 @@ coverage_pass_test( name = "pass", data = ["lib.js"], enable_runfiles = select({ - "@aspect_rules_js//js:enable_runfiles": True, + "@aspect_bazel_lib//lib:enable_runfiles": True, "//conditions:default": False, }), entry_point = "lib.js", diff --git a/js/private/test/create_launcher/custom_test.bzl b/js/private/test/create_launcher/custom_test.bzl index 1b77da4ce..6f0cd78fe 100644 --- a/js/private/test/create_launcher/custom_test.bzl +++ b/js/private/test/create_launcher/custom_test.bzl @@ -49,7 +49,7 @@ _custom_test = rule( def custom_test(**kwargs): _custom_test( enable_runfiles = select({ - "//js:enable_runfiles": True, + "@aspect_bazel_lib//lib:enable_runfiles": True, "//conditions:default": False, }), **kwargs