angular/packages/examples/upgrade/BUILD.bazel
Joey Perrott 47660b7684 build: migrate examples to use rules_js (#61650)
Migrate examples to use ng_project and ts_project for building

PR Close #61650
2025-05-26 11:00:59 +00:00

29 lines
590 B
Text

load("//tools:defaults2.bzl", "ts_config")
package(default_visibility = ["//visibility:public"])
exports_files([
"tsconfig.json",
"start-server.js",
"index.html",
])
ts_config(
name = "tsconfig_build",
src = "tsconfig.json",
deps = [
"//:node_modules/@types/angular",
"//:node_modules/@types/jasmine",
"//:node_modules/tslib",
],
)
ts_config(
name = "tsconfig_e2e",
src = "tsconfig-e2e.json",
deps = [
":tsconfig_build",
"//:node_modules/@types/jasminewd2",
"//:node_modules/@types/node",
],
)