angular/devtools/projects/shared-utils/BUILD.bazel
Matthieu Riegler 2df00c9b4b build(devtools): cleanup dependencies (#60936)
Removing `platform-browser-dynamic` because we don't need it anymore.

PR Close #60936
2025-04-29 12:16:16 -07:00

43 lines
884 B
Text

load("@build_bazel_rules_nodejs//:index.bzl", "js_library")
load("//devtools/tools:defaults.bzl", "karma_web_test_suite")
load("//devtools/tools:typescript.bzl", "ts_library", "ts_test_library")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "shared_utils_ts",
srcs = glob(
["**/*.ts"],
exclude = [
"**/*.spec.ts",
"src/test.ts",
],
),
deps = [
"//packages/core",
"@npm//@types",
],
)
js_library(
name = "shared-utils",
package_name = "shared-utils",
deps = [":shared_utils_ts"],
)
ts_test_library(
name = "shared_utils_test",
srcs = glob(["**/*.spec.ts"]),
deps = [
":shared-utils",
"//packages/core",
"@npm//@types",
],
)
karma_web_test_suite(
name = "test",
deps = [
":shared_utils_test",
],
)