build(upgrade): use correct sources in `BUILD.bazel` (#24937)
PR Close #24937
This commit is contained in:
parent
16c03c0f38
commit
07ab98bbb0
|
@ -7,7 +7,8 @@ ng_module(
|
||||||
srcs = glob(
|
srcs = glob(
|
||||||
[
|
[
|
||||||
"*.ts",
|
"*.ts",
|
||||||
"src/**/*.ts",
|
"src/common/**/*.ts",
|
||||||
|
"src/dynamic/**/*.ts",
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
module_name = "@angular/upgrade",
|
module_name = "@angular/upgrade",
|
||||||
|
|
|
@ -6,9 +6,15 @@ load("//tools:defaults.bzl", "ng_module")
|
||||||
|
|
||||||
ng_module(
|
ng_module(
|
||||||
name = "static",
|
name = "static",
|
||||||
# Workaround for Bazel issue where Windows symlinks
|
# Note: There is Bazel issue where Windows symlinks
|
||||||
# aka. junctions are not traversed by glob
|
# aka. junctions are not traversed by glob.
|
||||||
srcs = glob(["*.ts"]) + glob(["src/**/*.ts"]),
|
srcs = glob(
|
||||||
|
[
|
||||||
|
"*.ts",
|
||||||
|
"src/common/**/*.ts",
|
||||||
|
"src/static/**/*.ts",
|
||||||
|
],
|
||||||
|
),
|
||||||
module_name = "@angular/upgrade/static",
|
module_name = "@angular/upgrade/static",
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
|
|
Loading…
Reference in New Issue