Milo Lin | 26b2cbb | 2022-03-26 17:35:20 -0700 | [diff] [blame^] | 1 | load("@npm//@bazel/typescript:index.bzl", "ts_library") |
| 2 | |
| 3 | ts_library( |
| 4 | name = "shift_schedule", |
| 5 | srcs = [ |
| 6 | "shift_schedule.component.ts", |
| 7 | "shift_schedule.module.ts", |
| 8 | ], |
| 9 | angular_assets = [ |
| 10 | "shift_schedule.component.css", |
| 11 | "shift_schedule.ng.html", |
| 12 | "//scouting/www:common_css", |
| 13 | ], |
| 14 | compiler = "//tools:tsc_wrapped_with_angular", |
| 15 | target_compatible_with = ["@platforms//cpu:x86_64"], |
| 16 | use_angular_plugin = True, |
| 17 | visibility = ["//visibility:public"], |
| 18 | deps = [ |
| 19 | "//scouting/webserver/requests/messages:error_response_ts_fbs", |
| 20 | "//scouting/webserver/requests/messages:request_all_matches_response_ts_fbs", |
| 21 | "//scouting/webserver/requests/messages:request_all_matches_ts_fbs", |
| 22 | "@com_github_google_flatbuffers//ts:flatbuffers_ts", |
| 23 | "@npm//@angular/common", |
| 24 | "@npm//@angular/core", |
| 25 | "@npm//@angular/forms", |
| 26 | ], |
| 27 | ) |