Simplify scouting bundle

The `babel()` rule dumps its outputs into a directory without telling
bazel about what files are in that directory. That means other rules
are forced to interact with the directory instead of the actual file
we're interested in.

This patch adds a `genrule()` to copy the one file we care about out
of that problematic directory. This lets other rules easily interact
with that one file.

Signed-off-by: Philipp Schrader <philipp.schrader@gmail.com>
Change-Id: I46233dd47f4bfdc77dfe562e95a0adab20aa20c5
diff --git a/scouting/BUILD b/scouting/BUILD
index c543c17..f58a157 100644
--- a/scouting/BUILD
+++ b/scouting/BUILD
@@ -1,10 +1,5 @@
 load("//tools/build_rules:apache.bzl", "apache_wrapper")
-load("//tools/build_rules:js.bzl", "protractor_ts_test", "turn_files_into_runfiles")
-
-turn_files_into_runfiles(
-    name = "main_bundle_compiled_runfiles",
-    files = "//scouting/www:main_bundle_compiled",
-)
+load("//tools/build_rules:js.bzl", "protractor_ts_test")
 
 sh_binary(
     name = "scouting",
@@ -12,7 +7,6 @@
         "scouting.sh",
     ],
     data = [
-        ":main_bundle_compiled_runfiles",
         "//scouting/webserver",
         "//scouting/www:static_files",
     ],