Use terser minified typescript as input to babel.

Shrinks bundle by ~200kB.

Change-Id: I47a19d6c3ecf221d3fe24b1c63b943c1867fd6fe
Signed-off-by: Alex Perry <alex.perry96@gmail.com>
diff --git a/scouting/www/BUILD b/scouting/www/BUILD
index aba70bf..726749b 100644
--- a/scouting/www/BUILD
+++ b/scouting/www/BUILD
@@ -39,7 +39,7 @@
 babel(
     name = "main_bundle_compiled",
     args = [
-        "$(execpath :main_bundle)",
+        "$(execpath :main_bundle.min.js)",
         "--no-babelrc",
         "--source-maps",
         "--minified",
@@ -49,7 +49,7 @@
         "$(@D)",
     ],
     data = [
-        ":main_bundle",
+        ":main_bundle.min.js",
         "@npm//@angular/compiler-cli",
     ],
     output_dir = True,
@@ -63,7 +63,7 @@
     name = "main_bundle_file",
     srcs = [":main_bundle_compiled"],
     outs = ["main_bundle_file.js"],
-    cmd = "cp $(location :main_bundle_compiled)/main_bundle.js $(OUTS)",
+    cmd = "cp $(location :main_bundle_compiled)/main_bundle.min.js $(OUTS)",
 )
 
 # Create a copy of zone.js here so that we can have a predictable path to