angular/packages/benchpress/BUILD.bazel
Joey Perrott 2fcafb65c5 build: rename defaults2.bzl to defaults.bzl (#63383)
Use defaults.bzl for the common macros

PR Close #63383
2025-08-25 15:45:01 -07:00

48 lines
1,000 B
Text

load("//tools:defaults.bzl", "ng_package", "ts_config", "ts_project")
package(default_visibility = ["//visibility:public"])
ts_config(
name = "tsconfig_build",
src = "tsconfig.json",
deps = [
"//:node_modules/@types/node",
"//packages:tsconfig_build",
],
)
ts_project(
name = "benchpress",
srcs = glob(
[
"*.ts",
"src/**/*.ts",
],
),
deps = [
"//:node_modules/reflect-metadata",
"//packages:types",
"//packages/core",
],
)
ng_package(
srcs = [
"README.md",
"package.json",
],
externals = [
"@angular/core",
"reflect-metadata",
],
package = "@angular/benchpress",
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = [
"//integration:__subpackages__",
"//modules/ssr-benchmarks:__subpackages__",
],
deps = [
":benchpress",
],
)