blob: 46ecb74e2a9ea245b9bd3b9456d196d791d7a42d [file] [log] [blame]
load("@npm_angular_bazel//:index.bzl", "ng_module")
package(default_visibility = ["//:__subpackages__"])
# We don't import from these, but the generated ngfactory code will
NG_FACTORY_ADDED_IMPORTS = [
"@npm//@angular/animations",
"@npm//@angular/forms",
]
ng_module(
name = "gui2-topo-lib",
srcs = glob(
include = ["**/*.ts"],
exclude = [
"**/*.spec.ts",
"test.ts",
],
),
assets = glob([
"**/*.css",
"**/*.html",
]),
deps = NG_FACTORY_ADDED_IMPORTS + [
"//web/gui2-fw-lib",
"@npm//@angular/core",
"@npm//@angular/router",
"@npm//@angular/platform-browser",
"@npm//rxjs",
"@npm//@types",
"@npm//topojson-client",
],
)