angular/devtools/src/app/BUILD.bazel
AleksanderBodurri cfb26f5999 feat(devtools): use router state for active route detection
Replace URL-based active route detection with direct traversal of the ActivatedRoute tree.

This solution is more reliable than the previous approach because it directly compares router tree configuration objects against the active router instance state with router.routerState.
2025-11-10 09:50:08 -08:00

32 lines
873 B
Text

load("//devtools/tools:defaults.bzl", "ng_project", "sass_binary")
package(default_visibility = ["//visibility:public"])
sass_binary(
name = "app_component_styles",
src = "app.component.scss",
)
ng_project(
name = "app",
srcs = [
"app.component.ts",
"app.config.ts",
"transfer-state.ts",
],
angular_assets = [
"app.component.html",
":app_component_styles",
],
deps = [
"//:node_modules/@angular/core",
"//:node_modules/@angular/platform-browser",
"//:node_modules/@angular/router",
"//devtools/projects/ng-devtools",
"//devtools/src:demo_application_environment",
"//devtools/src:demo_application_operations",
"//devtools/src/app/demo-app",
"//devtools/src/app/demo-app/auxiliary",
"//devtools/src/app/devtools-app",
],
)