Philipp Schrader | 8058743 | 2022-03-05 15:41:22 -0800 | [diff] [blame^] | 1 | load("@npm//@bazel/typescript:index.bzl", "ts_library") |
2 | |||||
3 | ts_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 = [ | ||||
17 | "@npm//@angular/common", | ||||
18 | "@npm//@angular/core", | ||||
19 | ], | ||||
20 | ) |