Skip to content

Commit 4b4b745

Browse files
devversionatscott
authored andcommitted
fix(dev-infra): include bazel utility files in npm package (angular#37891)
We recently added a new folder for common bazel utilities to `dev-infra`. The `ng_rollup_bundle` rule relies on an utility that is provided by this `bazel/` folder. Unfortunately though it looks like this folder is currently not included in the NPM package, so that the `ng_rollup_bundle` rule does not work as expected. This commit fixes that by including the bazel utilities in the NPM package. PR Close angular#37891
1 parent 1550663 commit 4b4b745

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

dev-infra/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ pkg_npm(
3939
name = "npm_package",
4040
srcs = [
4141
"BUILD.bazel",
42+
"//dev-infra/bazel:files",
4243
"//dev-infra/benchmark:files",
4344
],
4445
substitutions = {

dev-infra/bazel/BUILD.bazel

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
11
package(default_visibility = ["//visibility:public"])
2+
3+
filegroup(
4+
name = "files",
5+
srcs = [
6+
"expand_template.bzl",
7+
],
8+
)

0 commit comments

Comments
 (0)