angular/packages/benchpress/BUILD.bazel
Matthieu Riegler 84b6896956 refactor(platform-server): Add an ssr benchmark setup. (#57647)
In order to investigate the performances of SSR, this commit introduces a benchmark suite which will measure several step of the rendering.

PR Close #57647
2024-10-04 10:45:22 -07:00

44 lines
994 B
Text

load("//tools:defaults.bzl", "ng_package", "ts_library")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "benchpress",
srcs = glob(
[
"*.ts",
"src/**/*.ts",
],
),
# TODO(alanagius) fix benchpress to compile with es2022
devmode_target = "es2020",
prodmode_target = "es2020",
deps = [
"//packages:types",
"//packages/core",
"@npm//@types/node",
"@npm//reflect-metadata",
],
)
ng_package(
name = "npm_package",
package_name = "@angular/benchpress",
srcs = [
"README.md",
"package.json",
],
externals = [
"@angular/core",
"reflect-metadata",
],
# 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",
],
)