blob: 55b69374e10d3b342b30739a015798847895db78 [file] [log] [blame]
Philipp Schrader80587432022-03-05 15:41:22 -08001load("@npm//@bazel/typescript:index.bzl", "ts_library")
2
3ts_library(
4 name = "entry",
5 srcs = glob([
6 "*.ts",
7 ]),
8 angular_assets = glob([
9 "*.ng.html",
10 "*.css",
11 ]),
12 compiler = "//tools:tsc_wrapped_with_angular",
13 target_compatible_with = ["@platforms//cpu:x86_64"],
14 use_angular_plugin = True,
15 visibility = ["//visibility:public"],
16 deps = [
Philipp Schrader8b8ed672022-03-05 18:08:50 -080017 "//scouting/webserver/requests/messages:error_response_ts_fbs",
18 "//scouting/webserver/requests/messages:submit_data_scouting_response_ts_fbs",
19 "//scouting/webserver/requests/messages:submit_data_scouting_ts_fbs",
20 "@com_github_google_flatbuffers//ts:flatbuffers_ts",
Philipp Schrader80587432022-03-05 15:41:22 -080021 "@npm//@angular/common",
22 "@npm//@angular/core",
Philipp Schrader93ade042022-03-05 17:16:10 -080023 "@npm//@angular/forms",
Philipp Schrader80587432022-03-05 15:41:22 -080024 ],
25)