Files
Joey Perrott 6fea9c88cc build: migrate examples to use rules_js (#61652)
Migrate examples to use ng_project and ts_project for building

PR Close #61652
2025-05-26 11:01:31 +00:00

30 lines
590 B
Python

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",
],
)