angular/devtools/BUILD.bazel
Matthieu Riegler ef38017418 build: move devtools only deps out of the workspace
This reduces the clutering of the workspace package.
2026-04-28 13:05:33 -07:00

39 lines
689 B
Text

load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
load("@npm//:defs.bzl", "npm_link_all_packages")
load("//devtools/tools:defaults.bzl", "ts_config")
package(default_visibility = ["//visibility:public"])
npm_link_all_packages(
name = "node_modules",
)
bool_flag(
name = "debug",
build_setting_default = False,
)
config_setting(
name = "debug_build",
flag_values = {
":debug": "True",
},
)
exports_files([
"tsconfig.json",
"cypress.json",
])
ts_config(
name = "tsconfig_build",
src = "tsconfig.json",
)
ts_config(
name = "tsconfig_test",
src = "tsconfig-test.json",
deps = [
":tsconfig_build",
],
)