2019-04-07 15:10:28 -04:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2019-11-25 16:46:16 -05:00
|
|
|
load("//tools:defaults.bzl", "ng_module", "ts_devserver")
|
2019-04-07 15:10:28 -04:00
|
|
|
|
|
|
|
ng_module(
|
|
|
|
name = "router_activated_route_examples",
|
|
|
|
srcs = glob(
|
|
|
|
["**/*.ts"],
|
|
|
|
),
|
2019-11-12 12:52:34 -05:00
|
|
|
generate_ve_shims = True,
|
2019-04-07 15:10:28 -04:00
|
|
|
deps = [
|
|
|
|
"//packages/core",
|
|
|
|
"//packages/platform-browser",
|
|
|
|
"//packages/platform-browser-dynamic",
|
|
|
|
"//packages/router",
|
|
|
|
"@npm//rxjs",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
ts_devserver(
|
|
|
|
name = "devserver",
|
|
|
|
entry_module = "@angular/examples/router/activated-route/main",
|
|
|
|
port = 4200,
|
|
|
|
scripts = [
|
2019-06-19 00:26:53 -04:00
|
|
|
"@npm//:node_modules/tslib/tslib.js",
|
2019-04-07 15:10:28 -04:00
|
|
|
"//tools/rxjs:rxjs_umd_modules",
|
|
|
|
],
|
|
|
|
static_files = [
|
2019-11-22 16:12:05 -05:00
|
|
|
"//packages/examples:index.html",
|
2019-10-05 23:06:53 -04:00
|
|
|
"//packages/zone.js/dist:zone.js",
|
2019-04-07 15:10:28 -04:00
|
|
|
],
|
|
|
|
deps = [":router_activated_route_examples"],
|
|
|
|
)
|