Skip to content

Commit c06926c

Browse files
committed
Allow the UI to be displayed from the selenium_server target
1 parent b854e88 commit c06926c

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

javascript/grid-ui/BUILD.bazel

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ load("@bazel_skylib//rules:write_file.bzl", "write_file")
22
load("@build_bazel_rules_nodejs//:index.bzl", "copy_to_bin")
33
load("@npm//react-scripts:index.bzl", "react_scripts", "react_scripts_test")
44
load("//common:defs.bzl", "zip_file")
5+
load("//java:defs.bzl", "merge_jars")
56

67
_RUNTIME_DEPS = [
78
"chdir.cjs",
@@ -64,16 +65,19 @@ react_scripts(
6465
)
6566

6667
zip_file(
67-
name = "react_zip",
68-
srcs = [
69-
":build",
70-
],
68+
name = "react-zip",
69+
srcs = [":build"],
7170
extension = "jar",
7271
)
7372

73+
merge_jars(
74+
name = "add-missing-dirs",
75+
inputs = [":react-zip"],
76+
)
77+
7478
java_import(
7579
name = "react_jar",
76-
jars = ["react_zip"],
80+
jars = [":add-missing-dirs"],
7781
visibility = [
7882
"//java/src/org/openqa/selenium/grid:__pkg__",
7983
],

0 commit comments

Comments
 (0)