mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
0125677cfe
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
13 lines
270 B
Python
13 lines
270 B
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
filegroup(
|
|
name = "shared",
|
|
srcs = glob(
|
|
["**"],
|
|
exclude = [
|
|
"BUILD.bazel",
|
|
"**/node_modules/**", # Node modules may exist from the legacy setup.
|
|
],
|
|
),
|
|
)
|