mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
AIO has two risk places where `node_modules` folders may exist and may be accidentally picked up by Bazel- even though they are already added as part of `.bazelignore` and made visible through `.gitignore`. It doesn't hurt instructing Bazel to always ignore `node_modules` as part of the `glob` instruction. Co-authored-by: Joey Perrott <josephperrott@gmail.com> PR Close #48329
12 lines
270 B
Text
12 lines
270 B
Text
package(default_visibility = ["//visibility:public"])
|
|
|
|
filegroup(
|
|
name = "shared",
|
|
srcs = glob(
|
|
["**"],
|
|
exclude = [
|
|
"BUILD.bazel",
|
|
"**/node_modules/**", # Node modules may exist from the legacy setup.
|
|
],
|
|
),
|
|
)
|